vmurin / react-native-azure-auth

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

Fix iOS autolinking #153

Closed mlazari closed 2 years ago

mlazari commented 2 years ago

Autolinking does not work on iOS because the podspec file is not found in the root of the project.

This change moves the podspec file to the root and updates the relative paths in it accordingly.

paulrostorp commented 2 years ago

Can this be merged 🙏 I got here because I got

Cannot read property 'bundleIdentifier' of null

Because the native module does not get installed.

Workaround: Add the following to your Podfile:

  pod 'AzureAuth', path: '../node_modules/react-native-azure-auth/ios'