AzureAD / azure-activedirectory-library-for-cordova

ADAL for Cordova
59 stars 111 forks source link

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

Open GroupeBEL opened 4 years ago

GroupeBEL commented 4 years ago

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

Perroquiet commented 4 years ago

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

GroupeBEL commented 4 years ago

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

GroupeBEL commented 4 years ago

@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 ?

nationdata-it commented 4 years ago

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

alantom1423 commented 4 years ago

@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

GroupeBEL commented 4 years ago

@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.

hbouhali commented 4 years ago

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

RuanRafael1 commented 4 years ago

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!