Skip to main content

Step 1: Installation

Install react-native-msal from this repository. This is a fork maintained by the mad-team. Always install the newest commit. To install it, add this to your package.json:

"dependencies": {
"react-native-msal": "github:equinor/react-native-msal#NEWEST_COMMIT_HASH_HERE",
}

And then run npm install.

Next, install @equinor/mad-core and it's peer dependencies @react-native-async-storage/async-storage, @react-navigation/native, react-native-safe-area-context, react-native-gesture-handler, and @react-native-community/netinfo. note: Any issues with installation? Do you suspect some peer-dependencies are missing? Create an issue!