Hi @philiWeitz
I found an error when I tried to run my react-native app
public void onActivityResult(int requestCode, int resultCode, Intent data) {...
Execution failed for task ':app:compileDebugJavaWithJavac'.
Basically the error is that Intent class never was imported into the MainActivity.java file
Solution:
Update the README file and add this line on andriod step number 6:
- add the "LocationSwitch" and "Intent" import into your MainActivity.java file::
import org.pweitz.reactnative.locationswitch.LocationSwitch;
import android.content.Intent;
On this way we would solve the error.
I tried to do a PR but I don't have permission :P
Hi @philiWeitz
I found an error when I tried to run my react-native app
public void onActivityResult(int requestCode, int resultCode, Intent data) {...
Execution failed for task ':app:compileDebugJavaWithJavac'.
Basically the error is that Intent class never was imported into the MainActivity.java file
Solution:
Update the README file and add this line on andriod step number 6:
On this way we would solve the error.
I tried to do a PR but I don't have permission :P