react-native-mdm icon indicating copy to clipboard operation
react-native-mdm copied to clipboard

Can this be used with Expo?

Open deep0410 opened this issue 4 years ago • 3 comments

I currently have an application build with Expo. I wanted to look into integrating MDM.

It seems like to install and set up the package, I need to make a change to AndroidManifest.xml. Which I don't have access to since I am using Expo.

Is ejecting from Expo the only way to installing this package?

deep0410 avatar Sep 23 '20 16:09 deep0410

Hey @deep0410 I faced the same situation and opened this feature request: https://expo.canny.io/feature-requests/p/appconfig-functionality-included-in-expo

So far, the only way is to eject Expo since you have a dependency on the Native Code

antoniogoulao avatar Oct 01 '20 14:10 antoniogoulao

@deep0410 @antoniogoulao expo now supports using native modules, as long as they provide some expo specific configuration.

I found this PR on StackOverflow which makes it seem pretty simple.

zetaron avatar Jun 07 '23 08:06 zetaron

Hello! I just made a PR to expo/config-plugins with a config plugin that should allow you to use this library in Expo!

https://github.com/expo/config-plugins/pull/228

I made the PR there since there are other libraries that utilize MDM features (namely react-native-emm, and developers may want to implement there own custom solution.

Hopefully this can get merged and allow y'all to use this config plugin!

gvanderclay avatar Mar 08 '24 22:03 gvanderclay