277
Views
3
Comments
Solved
[Azure AD Mobile Plugin] [iOS] Azure AD & Firebase Mobile plugins incompatibility
Question
azure-ad-mobile-plugin
Mobile icon
Forge asset by Truewind

Hi,

On our app, using Firebase Mobile to provide push notifications, we noticed that we stopped receiving push notifications in iOS after including Azure AD plugin in the build.

After some analysis, it seems that the app fails to register on APN's because there's a missing entitlement (aps-environment).

The problem seems to be caused by a script that changes the iOS entitlements file when generating the app.

After applying a change in this script, the app successfully registers with APN's and the login with Azure remains working in the iOS app.

Please consider applying the following change in order to support having both plugins in the same app:

  • Remove/comment line 81 of the file configureEntitlementsIos.js


Cumps,

David

2022-07-12 16-41-57
Pedro Costa
Solution

Hi David,


Thank you so much for sharing your knowledge. I will apply the changes and update the application


Regards,
Pedro

UserImage.jpg
Harish Yerra

Hi David/Pedro, 


To do the above change we need to go to the ADAL plug-in > Data > Resources > azure.zip > under scripts> configureEntitlementsIos.js we need to the change then deply it. After that refresh your app plugin then the ios notifications will work.

Thanks

Harish

2022-07-12 16-41-57
Pedro Costa

Hi Harish,


You will find inside the zip file that is in the resource folder in the plugin module:

azure.zip > azure > scripts > configureEntitlementslos.js


Thanks

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.