azure-activedirectory-library-for-cordova icon indicating copy to clipboard operation
azure-activedirectory-library-for-cordova copied to clipboard

[iOS] [help Needed] [Objc] new ms-Adal

Open GroupeBEL opened this issue 5 years ago • 8 comments
trafficstars

Hello,

I'm tried to remove uiwebview form msAdal:

My fork is : https://github.com/fradali/azure-activedirectory-library-for-cordova/tree/adal-ios-wkwebview/src/ios

I replaced all instance with wkwebview but i'm having the alert of app store.

I'm not very good at Objc so If you feel that you want to help , I linked the link of repo. Thanks

GroupeBEL avatar May 01 '20 03:05 GroupeBEL

Hi @webteambel

You can use this forked plugin: cordova plugin add cordova-plugin-ms-adal-is-back

Make sure to remove platform and start a clean slate:

cordova platform rm android ios
cordova plugin rm cordova-plugin-ms-adal
cordova plugin add cordova-plugin-ms-adal-is-back
cordova platform add android ios

I've removed the references of UIWebview by updating the ADAL framework to 4.0.7 here. So you won't receive the alert from submitting to App Store

Perroquiet avatar May 07 '20 13:05 Perroquiet

@Perroquiet Thank you so much I've test it and it works like a charm , your are a life saver ^_^ !!

GroupeBEL avatar May 09 '20 02:05 GroupeBEL

@Perroquiet hey, The Adal plugin is working fine with cordova but when I use capacitor I receive this problem when i try to generate ipa to the store:

Capture d’écran 2020-05-11 à 16 37 35

any help please ?

GroupeBEL avatar May 11 '20 14:05 GroupeBEL

Hi @Perroquiet , Thanks for bringing life to the plugin, but i got a few issue when using with your plugin. it is breaking auto provisioning for the app, for that i have to manually specify the provision certificate. other issue: ITMS-90034: Missing or invalid signature

and each time i have to remove platform and add platform before building the release

nationdata-it avatar May 14 '20 06:05 nationdata-it

@Perroquiet hey, The Adal plugin is working fine with cordova but when I use capacitor I receive this problem when i try to generate ipa to the store:

Capture d’écran 2020-05-11 à 16 37 35

any help please ?

@webteambel Have you solved this. I'm having the same issue when trying to archive. Mine is a capacitor ionic project. I did try a Pod install with latest version of ADAL '4.0.8' but its showing a header file missing when building the application.

@Perroquiet Am i missing something when adding this project to ionic

alantom1423 avatar Jun 17 '20 06:06 alantom1423

@alantom1423 I changed my project to cordova again, I run every time my app using : ionic cordova run ios -- --buildFlag="-UseModernBuildSystem=0" --> this won't run the app (prov profile problem) then I open project with xCode and select the Prov Profile if not selected and I run and it works fine.

GroupeBEL avatar Jun 17 '20 09:06 GroupeBEL

Hey @alantom1423 , Have you solved this issue ? we are having the same issue when trying to archive. Also it is a capacitor ionic project.

hbouhali avatar Sep 01 '20 21:09 hbouhali

After I update to the cordova-plugin-ms-adal-is-back plugin, I cannot generate the ipa for the store, the automatic provisioning of the app does not work. need help!

RuanRafael1 avatar Sep 16 '20 12:09 RuanRafael1