ibm-bluemix-mobile-services/bms-clientsdk-cordova-plugin-push

not working on ios

Closed this issue · 12 comments

pls some one can review the plugin?

solved.... u need bump version on npm

and on appdelegate i need to find the didFinishLaunchingWithOptions

and add this inside
[[CDVMFPPush sharedInstance] didReceiveRemoteNotificationOnLaunch:launchOptions];

but still with error

Hi @gabrielmancini try to use the last version with my Pull: adrianopaladini@6d26bb6

other error
log:

You've implemented -[<UIApplicationDelegate> application:didReceiveRemoteNotification:fetchCompletionHandler:], but you still need to add "remote-notification" to the list of your supported UIBackgroundModes in your Info.plist.
Apache Cordova native platform version 3.8.0 is starting.
Multi-tasking -> Device: YES, App: YES
Unlimited access to network resources
[CDVTimer][splashscreen] 682.094991ms
[CDVTimer][statusbar] 27.978003ms
[CDVTimer][socialsharing] 38.814008ms
[CDVTimer][keyboard] 0.693977ms
[CDVTimer][TotalPluginStartup] 751.163006ms
Resetting plugins due to page load.
Finished load of: file:///var/mobile/Containers/Bundle/Application/4F7E7D4A-6C07-4423-B1BC-E7A5D935FFCC/XXX.app/www/index.html
Q4M started with settings: xxxxx
BMSClient: Success: 
registerDevice err:  The notification was blocked by user
Session Started successfully

I've updated npm

same error

there is some resolution to close this?

I tested the latest plugin from npm and I did not get any errors. Using v1.0.13

but not working too

the log error?

the certification push was invalid on customer account on apple :-(

anyway solved now... thanks everyone!