ionic-appauth icon indicating copy to clipboard operation
ionic-appauth copied to clipboard

Ionic v3 compatibility

Open NajiLouisAct opened this issue 5 years ago • 3 comments

I'm trying ionic-appauth with Ionic v3 but it's not working. Is there any way to integrate it with apps built Ionic V3 not v4 or v5 ?

NajiLouisAct avatar Sep 30 '20 15:09 NajiLouisAct

This project was initially build on ionic V3 so it should work. what problems are you getting?

wi3land avatar Oct 02 '20 10:10 wi3land

Actually the dependencies are not compatible with v3 (ionic-native 4.20.0):

"dependencies": { "@capacitor/core": "^1.0.0-beta.19", **"@ionic-native/core": "^5.3.0", "@ionic-native/http": "^5.3.0", "@ionic-native/in-app-browser": "^5.3.0", "@ionic-native/safari-view-controller": "^5.3.0", "@ionic-native/secure-storage": "^5.3.0",** "@openid/appauth": "^1.2.6" }

and I get the following errors if I don't use correct versions for V3:

safari_view_controller_1.SafariViewController.isAvailable is not a function secure_storage_1.SecureStorage.create is not a function Cannot read property ‘split’ of undefined

in order to solve this issue I tried to delete these packages and install the ionic-native packages related to 4.20.0

NajiLouisAct avatar Oct 02 '20 13:10 NajiLouisAct

Was there any update on this?

codewise-nicolas avatar Feb 21 '23 03:02 codewise-nicolas