iOS Question Firebase notification in debug mode

marcick

Well-Known Member
Licensed User
Longtime 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
Longtime User
Difficult to guess why notification does not work when I’m in debug mode, right ? ...
 
Upvote 0

marcick

Well-Known Member
Licensed User
Longtime 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
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…