equinor / react-native-msal

MSAL for React Native
MIT License
2 stars 3 forks source link

Unable to use with Expo when building #24

Open nesh325 opened 3 weeks ago

nesh325 commented 3 weeks ago

Following the setup guide and adding in the react-native-msal plugin to my app.config file

{
  "expo": {
    // ...
    "plugins": [
      // ...
      [
        "react-native-msal",
        {
          "androidPackageSignatureHash": "<base64 package signature hash>" 
        }
      ]
    ]
  }
}

But I'm getting this when I try and run a dev build

Failed to resolve plugin for module "react-native-msal" relative to "...path to repo"
    Error: build command failed.
error Command failed with exit code 1.

I didn't experience this with the original repository when building, but in general that one does not work.

tormodAase commented 2 weeks ago

Hey @nesh325 ! We have removed the android side of the project in this fork, since we don't need it and don't have the resources to maintain it.

I would recommend only using this fork if you only plan to build to iOS and/or web. If that is the case, I can try to help you with your issue!

tormodAase commented 2 weeks ago

Could you give us more information about how you installed this fork, and how you run your project?

nesh325 commented 1 week ago

@tormodAase That would make sense, I thought this package supported Android as well. Expo Auth works fine for me with Azure SSO on IOS but not on Android, so I was hoping this would be a solution.