auth0-samples / auth0-react-native-sample

Auth0 Integration Samples for React Native
https://auth0.com/docs/quickstart/native/react-native
MIT License
128 stars 156 forks source link

The provided scheme is not valid. A scheme should not include special characters such as ":" or "/".' was thrown #45

Closed heyms closed 3 years ago

heyms commented 3 years ago

After putting these value in info.plist I'm getting issue in iOS but in case of Android It's working fine.

The provided scheme is not valid. A scheme should not include special characters such as ":" or "/".' was thrown while invoking showUrl on target A0Auth0 with params.

CFBundleURLTypes CFBundleTypeRole None CFBundleURLName auth0 CFBundleURLSchemes $(PRODUCT_BUNDLE_IDENTIFIER)

"react": "17.0.2", "react-native": "0.64.0",

Simulator Screen Shot - iPhone 12 - 2021-04-15 at 13 11 35

Widcket commented 3 years ago

Hi @heyms, thanks for raising this. Which version of Xcode are you using?

heyms commented 3 years ago

Version 12.5 beta 3 (12E5244e)

Widcket commented 3 years ago

We need to update the React Native SDK to support Xcode 12.5, I expect to put up a PR soon.

relm923 commented 3 years ago

This appears to be happening consistently on iOS 14.5 now

idrisssakhi commented 3 years ago

Hello, i have the same issue here; running in ios 14.5. any workarround

heyms commented 3 years ago

Please check for 14.4 version

On Wed, 28 Apr, 2021, 14:19 Idris Sakhi, @.***> wrote:

Hello, i have the same issue here; running in ios 14.5. any workarround

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/auth0-samples/auth0-react-native-sample/issues/45#issuecomment-828275031, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACMGRIBO5JFKIEKTO5S4VODTK7DYFANCNFSM427FVFFA .

relm923 commented 3 years ago

The error does not occur on 14.4

heyms commented 3 years ago

Great !

On Wed, 28 Apr, 2021, 19:13 Reagan Elm, @.***> wrote:

The error does not occur on 14.4

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/auth0-samples/auth0-react-native-sample/issues/45#issuecomment-828466846, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACMGRIBE2ZQ7HMSEEWJAKZ3TLAGJLANCNFSM427FVFFA .

Widcket commented 3 years ago

The PR with the fix for the SDK is up: https://github.com/auth0/react-native-auth0/pull/369. After that is merged and released, we'll need to update this sample.

fzaffarana commented 2 years ago

I have the same problem using version 1.6.0 (react-native-auth0).

My problem is that I can't update it because the project is using version 0.59.9 of rn. (version 1.6.0 is a fixed version for v0.59.9 of rn based on the documentation)

is there any fix for this version?