|
@@ -43,16 +43,16 @@
|
|
|
|
|
|
|
|
var pushListInfo = function (pushList) {
|
|
var pushListInfo = function (pushList) {
|
|
|
alert('pushListInfo1 Call ===> ' + pushList);
|
|
alert('pushListInfo1 Call ===> ' + pushList);
|
|
|
- // let orgPushList;
|
|
|
|
|
- // //IOS는 앱에서 BASE64로 인코딩 한후 전달 한다.
|
|
|
|
|
- // if (_osType === 'I') {
|
|
|
|
|
- // orgPushList = window.atob(pushList);
|
|
|
|
|
- // } else if (_osType === 'A') {
|
|
|
|
|
- // orgPushList = pushList;
|
|
|
|
|
- // }
|
|
|
|
|
|
|
+ let orgPushList;
|
|
|
|
|
+ //IOS는 앱에서 BASE64로 인코딩 한후 전달 한다.
|
|
|
|
|
+ if (_osType === 'I') {
|
|
|
|
|
+ orgPushList = window.atob(pushList);
|
|
|
|
|
+ } else if (_osType === 'A') {
|
|
|
|
|
+ orgPushList = pushList;
|
|
|
|
|
+ }
|
|
|
|
|
|
|
|
- if (!gagajf.isNull(pushList)) {
|
|
|
|
|
- let pushListJosn = JSON.parse(pushList);
|
|
|
|
|
|
|
+ if (!gagajf.isNull(orgPushList)) {
|
|
|
|
|
+ let pushListJosn = JSON.parse(orgPushList);
|
|
|
let html = '';
|
|
let html = '';
|
|
|
$.each(pushListJosn.pushList, function(idx, item) {
|
|
$.each(pushListJosn.pushList, function(idx, item) {
|
|
|
if (_osType === 'I') {
|
|
if (_osType === 'I') {
|
|
@@ -109,16 +109,16 @@
|
|
|
|
|
|
|
|
var pushListInfo2 = function (pushList) {
|
|
var pushListInfo2 = function (pushList) {
|
|
|
alert('pushListInfo2 Call ===> ' + pushList);
|
|
alert('pushListInfo2 Call ===> ' + pushList);
|
|
|
- let orgPushList;
|
|
|
|
|
- //IOS는 앱에서 BASE64로 인코딩 한후 전달 한다.
|
|
|
|
|
- if (_osType === 'I') {
|
|
|
|
|
- orgPushList = window.atob(pushList);
|
|
|
|
|
- } else if (_osType === 'A') {
|
|
|
|
|
- orgPushList = pushList;
|
|
|
|
|
- }
|
|
|
|
|
|
|
+ // let orgPushList;
|
|
|
|
|
+ // //IOS는 앱에서 BASE64로 인코딩 한후 전달 한다.
|
|
|
|
|
+ // if (_osType === 'I') {
|
|
|
|
|
+ // orgPushList = window.atob(pushList);
|
|
|
|
|
+ // } else if (_osType === 'A') {
|
|
|
|
|
+ // orgPushList = pushList;
|
|
|
|
|
+ // }
|
|
|
|
|
|
|
|
- if (!gagajf.isNull(orgPushList)) {
|
|
|
|
|
- let pushListJosn = JSON.parse(orgPushList);
|
|
|
|
|
|
|
+ if (!gagajf.isNull(pushList)) {
|
|
|
|
|
+ let pushListJosn = JSON.parse(pushList);
|
|
|
let html = '';
|
|
let html = '';
|
|
|
$.each(pushListJosn.pushList, function(idx, item) {
|
|
$.each(pushListJosn.pushList, function(idx, item) {
|
|
|
if (_osType === 'I') {
|
|
if (_osType === 'I') {
|