tufanv Expert Licensed User Longtime User Oct 10, 2016 #1 Hello I have added my current apps the '#Entitlement: <key>aps-environment</key><string>production</string> line to make the notifications visible. But adding these line causes installation failure. I use the bridge to install my app ( release ) and the circle starts to move with starting of install then it says app could not be installed at the moment. I did not change anything else. removing this line fixes the problem. I am using firebase notifications in this app. thanks
Hello I have added my current apps the '#Entitlement: <key>aps-environment</key><string>production</string> line to make the notifications visible. But adding these line causes installation failure. I use the bridge to install my app ( release ) and the circle starts to move with starting of install then it says app could not be installed at the moment. I did not change anything else. removing this line fixes the problem. I am using firebase notifications in this app. thanks
Erel B4X founder Staff member Licensed User Longtime User Oct 10, 2016 #2 You are using Xcode 8, right? Upvote 0
tufanv Expert Licensed User Longtime User Oct 10, 2016 #3 Erel said: You are using Xcode 8, right? Click to expand... I am using hosted builder Upvote 0
Erel B4X founder Staff member Licensed User Longtime User Oct 10, 2016 #4 I was able to reproduce it. You are using a development certificate so change that line to: Code: Copy #Entitlement: <key>aps-environment</key><string>development</string> Note that it is better to use a distribution certificate with push notifications. Upvote 0
I was able to reproduce it. You are using a development certificate so change that line to: Code: Copy #Entitlement: <key>aps-environment</key><string>development</string> Note that it is better to use a distribution certificate with push notifications.
tufanv Expert Licensed User Longtime User Oct 10, 2016 #5 Erel said: I was able to reproduce it. You are using a development certificate so change that line to: Code: Copy #Entitlement: <key>aps-environment</key><string>development</string> Note that it is better to use a distribution certificate with push notifications. Click to expand... Erel, Thanks for answer. I tried to change it but both production and development gives me the same result. By the way i am using distrubution / adhoc provision profile as you suggested in firebase tutorial. Upvote 0
Erel said: I was able to reproduce it. You are using a development certificate so change that line to: Code: Copy #Entitlement: <key>aps-environment</key><string>development</string> Note that it is better to use a distribution certificate with push notifications. Click to expand... Erel, Thanks for answer. I tried to change it but both production and development gives me the same result. By the way i am using distrubution / adhoc provision profile as you suggested in firebase tutorial.
Erel B4X founder Staff member Licensed User Longtime User Oct 10, 2016 #6 Can you send me the provision profile file that you are using ([email protected])? Upvote 0
tufanv Expert Licensed User Longtime User Oct 10, 2016 #7 Erel said: Can you send me the provision profile file that you are using ([email protected])? Click to expand... Sent now. Upvote 0
Erel said: Can you send me the provision profile file that you are using ([email protected])? Click to expand... Sent now.
Erel B4X founder Staff member Licensed User Longtime User Oct 10, 2016 #8 It seems like you haven't enable push notifications in this provision profile. There is no aps-environment key in the Entitlements key. For example: You should enable it in the app id settings: Upvote 0
It seems like you haven't enable push notifications in this provision profile. There is no aps-environment key in the Entitlements key. For example: You should enable it in the app id settings:
tufanv Expert Licensed User Longtime User Oct 10, 2016 #9 Erel said: It seems like you haven't enable push notifications in this provision profile. There is no aps-environment key in the Entitlements key. For example: You should enable it in the app id settings: Click to expand... Erel just checked again but provision file has no option to enable or disable a push notification. I checked my app id and it is already enabled . I had done that when i first added firebase to my app. https://s11.postimg.org/tn60y1wgj/push1.png maybe because my certificate also expired , i have to re do the push notifications settings ( uploading apn certificate etc as described in firebase tutorial ? ) Upvote 0
Erel said: It seems like you haven't enable push notifications in this provision profile. There is no aps-environment key in the Entitlements key. For example: You should enable it in the app id settings: Click to expand... Erel just checked again but provision file has no option to enable or disable a push notification. I checked my app id and it is already enabled . I had done that when i first added firebase to my app. https://s11.postimg.org/tn60y1wgj/push1.png maybe because my certificate also expired , i have to re do the push notifications settings ( uploading apn certificate etc as described in firebase tutorial ? )
Erel B4X founder Staff member Licensed User Longtime User Oct 10, 2016 #10 You need to create a certificate and provision profile based on this app id. Upvote 0
tufanv Expert Licensed User Longtime User Oct 10, 2016 #11 You are right. That is fixed now. Thanks Upvote 0