Hi,
I've this problem:
I've an application with firebase notification.
When I use this application with development certificates the TOKEN is correctly retrieved and the push message versus one device work correctly.
When I use this application with production certificates the TOKEN is empty and the push message work with topics only
Can you help me?!?!?!?
P.S. I use this code for retrieve token
Private Sub GetToken As String
Dim no As NativeObject
Dim token As NativeObject = no.Initialize("FIRInstanceID").RunMethod("instanceID", Null).RunMethod("token", Null)
If token.IsInitialized Then Return token.AsString Else Return ""
End Sub
These are the certificates and provision file (distribution)
#CertificateFile: ios_distribution.cer
#ProvisionFile: ILCDistribution.mobileprovision
These are the certificates and provision file (development)
#CertificateFile: ios_development.cer
#ProvisionFile: ILCDevelopment.mobileprovision
the ILCDistribution is joined with same App ID than ILCDevelopment
P.S. I have this row of code too
#Entitlement: <key>aps-environment</key><string>production</string>