// Path: android/src/main/java/com/github/reactnativecommunity/location/RNLocationPackage.java
// public class RNLocationPackage implements ReactPackage {
//     @Override
//     public List<ViewManager> createViewManagers(ReactApplicationContext reactContext) {
//         return Collections.emptyList();
//     }
// 
//     @Override
//     public List<NativeModule> createNativeModules(ReactApplicationContext reactContext) {
//         List<NativeModule> modules = new ArrayList<>();
// 
//         modules.add(new RNLocationModule(reactContext));
// 
//         return modules;
//     }
// }


import android.app.Application;
import com.facebook.react.ReactApplication;
import com.facebook.react.ReactNativeHost;
import com.facebook.react.ReactPackage;
import com.facebook.react.shell.MainReactPackage;
import com.facebook.soloader.SoLoader;
import com.github.reactnativecommunity.location.RNLocationPackage;
import java.util.Arrays;
import java.util.List;
package com.example;




public class MainApplication extends Application implements ReactApplication {

  private final ReactNativeHost mReactNativeHost = new ReactNativeHost(this) {
    @Override
    public boolean getUseDeveloperSupport() {
      return BuildConfig.DEBUG;
    }

    @Override
    protected List<ReactPackage> getPackages() {
      return Arrays.<ReactPackage>asList(
          new MainReactPackage(),
// Path: android/src/main/java/com/github/reactnativecommunity/location/RNLocationPackage.java
// public class RNLocationPackage implements ReactPackage {
//     @Override
//     public List<ViewManager> createViewManagers(ReactApplicationContext reactContext) {
//         return Collections.emptyList();
//     }
// 
//     @Override
//     public List<NativeModule> createNativeModules(ReactApplicationContext reactContext) {
//         List<NativeModule> modules = new ArrayList<>();
// 
//         modules.add(new RNLocationModule(reactContext));
// 
//         return modules;
//     }
// }


// Path: example/android/app/src/main/java/com/example/MainApplication.java
import android.app.Application;
import com.facebook.react.ReactApplication;
import com.facebook.react.ReactNativeHost;
import com.facebook.react.ReactPackage;
import com.facebook.react.shell.MainReactPackage;
import com.facebook.soloader.SoLoader;
import com.github.reactnativecommunity.location.RNLocationPackage;
import java.util.Arrays;
import java.util.List;

package com.example;




public class MainApplication extends Application implements ReactApplication {

  private final ReactNativeHost mReactNativeHost = new ReactNativeHost(this) {
    @Override
    public boolean getUseDeveloperSupport() {
      return BuildConfig.DEBUG;
    }

    @Override
    protected List<ReactPackage> getPackages() {
      return Arrays.<ReactPackage>asList(
          new MainReactPackage(),
          new RNLocationPackage()