iOS Question Firebase notification in debug mode

marcick

Well-Known Member
Licensed User
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.
 

marcick

Well-Known Member
Licensed User
Difficult to guess why notification does not work when I’m in debug mode, right ? ...
 

marcick

Well-Known Member
Licensed User
Well,
try, try and retry, finally it works in debug mode also but I don't undrstand what I was doing wrong ....
Thank you
 
Top