marcick Well-Known Member Licensed User Longtime User Jan 13, 2018 #1 As mentioned in the tutorial, I have uploaded in Firebase only the production APN, but the notification are not working when I'm in debug mode. Where I'm wrong ? I'm trying to compile this way B4X: #If RELEASE #CertificateFile: ios_distribution.cer #ProvisionFile: AdHoc.mobileprovision #Else #CertificateFile: ios_development.cer #ProvisionFile: Development.mobileprovision #END IF or this way also B4X: #CertificateFile: ios_distribution.cer #ProvisionFile: AdHocB.mobileprovision But no success. Notification works only compiling in release.
As mentioned in the tutorial, I have uploaded in Firebase only the production APN, but the notification are not working when I'm in debug mode. Where I'm wrong ? I'm trying to compile this way B4X: #If RELEASE #CertificateFile: ios_distribution.cer #ProvisionFile: AdHoc.mobileprovision #Else #CertificateFile: ios_development.cer #ProvisionFile: Development.mobileprovision #END IF or this way also B4X: #CertificateFile: ios_distribution.cer #ProvisionFile: AdHocB.mobileprovision But no success. Notification works only compiling in release.
Erel B4X founder Staff member Licensed User Longtime User Jan 14, 2018 #2 You shouldn't use a development certificate at all. Always use a distribution certificate. Upvote 0
marcick Well-Known Member Licensed User Longtime User Jan 14, 2018 #3 Difficult to guess why notification does not work when I’m in debug mode, right ? ... Upvote 0
Erel B4X founder Staff member Licensed User Longtime User Jan 14, 2018 #4 Use the same certificate in debug mode and release mode. Upvote 0
marcick Well-Known Member Licensed User Longtime User Jan 14, 2018 #5 Well, try, try and retry, finally it works in debug mode also but I don't undrstand what I was doing wrong .... Thank you Upvote 0
Well, try, try and retry, finally it works in debug mode also but I don't undrstand what I was doing wrong .... Thank you