Closed babour closed 11 years ago
Can you show the contents of your config file for the bundle?
I don't use the android push yet, the token used for the test is for iOS.
rms_push_notifications: android: c2dm: username: "%android_c2dm_username%" password: "%android_c2dm_password%" source: "%android_c2dm_source%" gcm: api_key: "%android_gcm_api_key%" ios: sandbox: true pem: "/home/myuser/MyApplication/src/MyApplication/WebServiceBundle/Certificate/ck.pem" passphrase: mypassphrase
I found the problem, the iOS developer had given my the wrong passphrase.
Sorry.
@vinosiva sorry, are you reporting a new issue? Please open it separately if so, with further details.
Hi,
I tried to use the bundle but I get an error with the iOS pem file, I put an absolute path to the file but it doesn't seem to work, would it be possible to have a pem path example to put in the config file?
Thanks you,
Here is the error I get when I try to send a push : [{"message":"Warning: stream_socket_client(): Unable to set private key file `\/home\/user\/MyApplication\/src\/MyApplication\/WebServiceBundle\/Certificate\/ck.pem' in \/home\/user\/MyApplication\/vendor\/richsage\/rms-push-notifications-bundle\/RMS\/PushNotificationsBundle\/Service\/OS\/iOSNotification.php line 181","class":"ErrorException","trace":[{"namespace":"","short_class":"","class":"","type":"","function":"","file":"\/home\/user\/MyApplication\/vendor\/richsage\/rms-push-notifications-bundle\/RMS\/PushNotificationsBundle\/Service\/OS\/iOSNotification.php","line":181,"args":[]},{"namespace":"Symfony\Component\HttpKernel ...