vmurin / react-native-azure-auth

React Native library implementing Azure AD OAuth2 API
MIT License
85 stars 65 forks source link

not working with react native 0.7.x #170

Closed cgo123 closed 1 year ago

cgo123 commented 1 year ago

by default react native 0.7.x uses react@18. The lib requieres react@"^16.11.0 || ^17"

georgetk commented 1 year ago

Hi, I'm open to create a PR for this. But doen't know what to do for supporting RN 0.7x. Could someone guide me in this?

vmurin commented 1 year ago

PRs are really appreciated! 🙏🏻

Hint: https://react-native-community.github.io/upgrade-helper/

vmurin commented 1 year ago

new version supporting react v18 is published to NPM

cgo123 commented 1 year ago

Thank you very much!!!

cgo123 commented 1 year ago

Hi @vmurin,

thank you very much for the new version. Unfortunately it does not work for me, I get the following error message:

npm ERR! Found: react-native@0.70.6 npm ERR! node_modules/react-native npm ERR! react-native@"0.70.6" from the root project npm ERR! npm ERR! Could not resolve dependency: npm ERR! peer react-native@"^0.64.0" from react-native-azure-auth@1.8.6

Do you have any ideas?

vmurin commented 1 year ago

Sorry, one micro update to 1.8.7 should fix it :)