N Nicolás Cieri Active Member Licensed User Dec 10, 2020 #1 Follow-up to this case, Once Apple gives you permission, new profiles should be generated in the developer account. How can I add the new entitlement? and how can I add this notification? I suppose it is some parameter at the time of the creation of the notification, but I don't know how to do it for B4i. Any ideas?. Thank you.
Follow-up to this case, Once Apple gives you permission, new profiles should be generated in the developer account. How can I add the new entitlement? and how can I add this notification? I suppose it is some parameter at the time of the creation of the notification, but I don't know how to do it for B4i. Any ideas?. Thank you.
Erel B4X founder Staff member Licensed User Longtime User Dec 10, 2020 #2 You need to provide more information. Are you sending push notifications or local notifications? What exactly have you received from Apple? Upvote 0
You need to provide more information. Are you sending push notifications or local notifications? What exactly have you received from Apple?
N Nicolás Cieri Active Member Licensed User Dec 10, 2020 #3 Hello, Thanks for your interest in the Critical Alerts API. We added a new template containing the Critical Alerts entitlement to your team's developer account. To use this special entitlement you must create a new provisioning profile in the Certificates, Identifiers & Profiles section of your developer account: <https://developer.apple.com/account/>. When you create a Development or Distribution provisioning profile for your Team ID, after selecting the devices to be included in the profile, you should see a new page entitled “Do you need additional entitlements?”. Select “Critical Alerts” from the Entitlements popup to include the Critical Alerts entitlement in your new profile. Once you’ve finished generating the profile, you can use it in Xcode like any other manually-generated profile. IMPORTANT: If you have problems getting this to work, read Technote 2415 “Entitlements Troubleshooting” for troubleshooting steps. ... ... In my Apple account, the new profiles have already been generated with this option selected. Upvote 0
Hello, Thanks for your interest in the Critical Alerts API. We added a new template containing the Critical Alerts entitlement to your team's developer account. To use this special entitlement you must create a new provisioning profile in the Certificates, Identifiers & Profiles section of your developer account: <https://developer.apple.com/account/>. When you create a Development or Distribution provisioning profile for your Team ID, after selecting the devices to be included in the profile, you should see a new page entitled “Do you need additional entitlements?”. Select “Critical Alerts” from the Entitlements popup to include the Critical Alerts entitlement in your new profile. Once you’ve finished generating the profile, you can use it in Xcode like any other manually-generated profile. IMPORTANT: If you have problems getting this to work, read Technote 2415 “Entitlements Troubleshooting” for troubleshooting steps. ... ... In my Apple account, the new profiles have already been generated with this option selected.
Erel B4X founder Staff member Licensed User Longtime User Dec 10, 2020 #4 If I understood correctly, you just need to download an updated provision profile with an app id where critical alters are enabled. Upvote 0
If I understood correctly, you just need to download an updated provision profile with an app id where critical alters are enabled.
Erel B4X founder Staff member Licensed User Longtime User Dec 10, 2020 #5 There is an #Entitlements attribute that might be needed (https://www.b4x.com/android/forum/pages/results/?query=entitlements). Upvote 0
There is an #Entitlements attribute that might be needed (https://www.b4x.com/android/forum/pages/results/?query=entitlements).
N Nicolás Cieri Active Member Licensed User Dec 10, 2020 #6 Yes, but when creating a Notification it must be indicated that it is critical. Because I must be able to send normal and also critical. Upvote 0
Yes, but when creating a Notification it must be indicated that it is critical. Because I must be able to send normal and also critical.
N Nicolás Cieri Active Member Licensed User Dec 10, 2020 #7 I think it must be something like that, but it doesn't work in the tests I've done. { “aps” : { “sound” : { “critical”: 1, “name”: “critical-alert-sound.wav”, “volume”: 1.0 } } } Upvote 0
I think it must be something like that, but it doesn't work in the tests I've done. { “aps” : { “sound” : { “critical”: 1, “name”: “critical-alert-sound.wav”, “volume”: 1.0 } } }
Erel B4X founder Staff member Licensed User Longtime User Dec 11, 2020 #8 This can be done easily with the B4J sending tool. Upvote 0