myflashlab / common-dependencies-ANE

In this repository find all the required shared libraries for our Air Native Extensions to make sure your final app will have the minimum required libraries so your app won't be unnecessarily huge in size.
24 stars 10 forks source link

myFlashLabs OneSignal ANE on iOS #49

Open PhilCase opened 4 years ago

PhilCase commented 4 years ago

Hi,

I'm using the 33.1.1.127 Libraries from Harmon and myFlashLabs OneSignal ANE.

When I initialise the libraries I was previously calling OneSignal.getTags( getTags_callback ) to find my onesignal UserID.

Since installing the new libraries this doesn't return.

If I enable verbose logging I get a number of messages shown to me:

  1. OneSignal has detected that your application delegate implements a deprecated method (application:didReceiveLocalNotification;). Please note that this method has been officially deprecated and the OneSignal SDK will no longer call it. You should use UNUserNotificationCenter instead.
  2. OSRequestRegisterUser: { errors= ( “[\”identifier invalid format.\”]” ); success=0; }
  3. Encountered error during push registration with OneSignal: Error Domain=OneSignalError Code=400 "(null)" UserInfo={returned={ errors = ( "[\"Identifier invalid format.\"]" ); success = 0; }

The OneSignal ANE appears to have been merged into the Firebase messaging ANE, so if I wanted to upgrade the library to the latest one would our license migrate to the Firebase messaging library or would we need to purchase a new license for the firebase messaging library for use with onesignal?

Also - has anyone found any code examples or advice on migrating to the Firebase messaging ANE to use the new onesignal functionality that it now supports.

I'd be grateful for any help or advice.

Thanks :)

PhilCase commented 4 years ago

Forgive me - I know this is in the wrong place. I cannot find how to add it against the OneSignal or against the Firebase messaging topics.