Closed cpetrov closed 4 years ago
Tabris.js iOS platform is missing a hook to introduce a nice and clean change where possibly the issue could be fixed. If we would have a hook called "before applicationDidFinishLaunching", we could possibly put [ESFBMessaging setLaunchData:launchOptions];
there. Of course, it's possible to do it without the hook in the comment, but it would be better to wait for the changes in the platform first.
With that change first console.log
does print the object, and not undefined
value.
Is this issue still relevant?
Any progress on this? I am currently having issues with launchData on iOS. When user taps the notification, no data is logged on both cold and warm start (app in background) of the application.
Problem description
firebase.Messaging.launchData
is not set immediately on cold app launch (app killed and being started by tapping on a notification banner), but after a delay.Expected behavior
launchData
should be set even when the app is cold-launched.Environment
Code snippet
Insert the following on the top of
app.js
:The timeouted
console.log
will log the expected launchData. The firstconsole.log
will logundefined
.