first of all, i bet your pardon for my terrible english, its not my native language.
here is the point.
I have a problem with setting up a onesignal to native corona project.
i do it by following this manual and encounter a lot of errors on this path.
first of all, on the step 4, i got the issue "error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation."
ofcourse, simple running of pod install do nothing.
so, the solution is add two user defined variables in build settings PODS_PODFILE_DIR_PATH and PODS_ROOT.
therefor i got the issue 'OneSignal/OneSignal.h' file not found
this problem is resolving by add
#include "Pods/Target Support Files/Pods-App/Pods-App.debug.xcconfig"
#include "Pods/Target Support Files/Pods-App/Pods-App.release.xcconfig"
finnally we can build it!
but the next problem i was not able to resolve
i can see in logs that onesignal is initialized, it can show me a permission dialog, but in one signal dashboard the device has the record "Apns Delegate Never Fired"
so, there is no push notification income.
in fact, the push token is obtained by device - i was check it in didRegisterForRemoteNotificationsWithDeviceToken.
but for some reason it cant be send to one signal.
logs for a clear ios project and for corona ios project are different too.
i cant see a HTTP Request (OSRequestGetIosParams) with URL with corona project, only a response.
it looks like some framework is overriding impotant methods for onesignal, or something like this.
i can provide a logs if it necessary ( it just need to clean from keys and private info ), but the step i was written above is really easy to repeat and get the same trouble.
i really need to implement onesignal this way, because i have to manage a push notification on native level...
btw, i tried to do with carthage instead cocoapods, it was a different errors and solutions, but the result was the same.