Good day
I have an issue in ios customData received by IOS devices.
the data received having back slash in all object values therefore
I can't read them or compare values.
In android everything is working fine.
Thank you for your support.
Good day
I have an issue in ios customData received by IOS devices.
the data received having back slash in all object values therefore
I can't read them or compare values.
In android everything is working fine.
Thank you for your support.
Dears any help for this issue, I have tried many ways but unfortunately nothing work with me. IOS received push data but but customData appear with duopl slash..
Appreciate your usual support.
Hello Yahya,
Could you please clarify what you have tried and what exactly does not work?
Thank you for your reply,
My issue is when I send push notification with custom Data I got undefined values in IOS when data push received. The customData is like this
var myinfo={
name : "sam",
age: "35",
address: "KSA"
}
then in payload I put
customData: myinfo
In android I got the values by access
data . additionalData.name the result is = sam
In IOS data . additionalData.name is = undefined
Thank you.
Please print the alert with the full data object with the JS code prealert(JSON.stringify(data));/pre What value did you get?
I have print the full data and got the JSON result the same code is working in android but not in IOS.
Any help can solve this problem. I am really can't find where is the issue.
can I found solution for this ios issue...?
Hi Yahya -
It's not clear how exactly you're sending this customData content as a push message -- could you please provide more details about this?
Or if this would be easier provide us with the small app sample showing the case that you're getting.
Hi Illya,,
below is the small app..
Code: Select all
"chating":{
"msg":"do what you do..",
"date":"10/10/2017"
}
};
Code: Select all
}
});
in startPage push notification event ( I got the data correctly in Android but in IOS I got wrong JSON response with backslash. below if statement worked in Android but not in IOS.
if(data.additionalData.requestInfo.type=='requestSatha' || data.additionalData.requestInfo.type=='requestForChat'){
login_service_login_page.execute();
}
Thank you.
Thank you, I meant that is it possible for you to create an Appery.io app sample that will show this push sending mechanism that you're currently using -- so that we can send it to our QA department for testing.