├── .editorconfig ├── .gitattributes ├── .github ├── ISSUE_TEMPLATE │ ├── bug_report.yml │ └── config.yml ├── actions │ └── setup │ │ └── action.yml └── workflows │ └── ci.yml ├── .gitignore ├── .nvmrc ├── .watchmanconfig ├── .yarn ├── plugins │ └── @yarnpkg │ │ ├── plugin-interactive-tools.cjs │ │ └── plugin-workspace-tools.cjs └── releases │ └── yarn-3.6.1.cjs ├── .yarnrc.yml ├── CODE_OF_CONDUCT.md ├── CONTRIBUTING.md ├── LICENSE ├── README.md ├── android ├── build.gradle ├── gradle.properties └── src │ └── main │ ├── AndroidManifest.xml │ └── java │ └── com │ └── heanoria │ └── library │ └── reactnative │ └── locationenabler │ ├── AndroidLocationEnablerException.kt │ ├── AndroidLocationEnablerModule.kt │ └── AndroidLocationEnablerPackage.kt ├── assets └── android-location-enabler.gif ├── babel.config.js ├── eslint.config.mjs ├── example ├── .bundle │ └── config ├── .watchmanconfig ├── Gemfile ├── README.md ├── android │ ├── app │ │ ├── build.gradle │ │ ├── debug.keystore │ │ ├── proguard-rules.pro │ │ └── src │ │ │ ├── debug │ │ │ └── AndroidManifest.xml │ │ │ └── main │ │ │ ├── AndroidManifest.xml │ │ │ ├── java │ │ │ └── androidlocationenabler │ │ │ │ └── example │ │ │ │ ├── MainActivity.kt │ │ │ │ └── MainApplication.kt │ │ │ └── res │ │ │ ├── drawable │ │ │ └── rn_edit_text_material.xml │ │ │ ├── mipmap-hdpi │ │ │ ├── ic_launcher.png │ │ │ └── ic_launcher_round.png │ │ │ ├── mipmap-mdpi │ │ │ ├── ic_launcher.png │ │ │ └── ic_launcher_round.png │ │ │ ├── mipmap-xhdpi │ │ │ ├── ic_launcher.png │ │ │ └── ic_launcher_round.png │ │ │ ├── mipmap-xxhdpi │ │ │ ├── ic_launcher.png │ │ │ └── ic_launcher_round.png │ │ │ ├── mipmap-xxxhdpi │ │ │ ├── ic_launcher.png │ │ │ └── ic_launcher_round.png │ │ │ └── values │ │ │ ├── strings.xml │ │ │ └── styles.xml │ ├── build.gradle │ ├── gradle.properties │ ├── gradle │ │ └── wrapper │ │ │ ├── gradle-wrapper.jar │ │ │ └── gradle-wrapper.properties │ ├── gradlew │ ├── gradlew.bat │ └── settings.gradle ├── app.json ├── babel.config.js ├── index.js ├── jest.config.js ├── metro.config.js ├── package.json ├── react-native.config.js └── src │ └── App.tsx ├── lefthook.yml ├── package.json ├── src ├── NativeAndroidLocationEnabler.ts ├── __tests__ │ └── index.test.tsx └── index.tsx ├── tsconfig.build.json ├── tsconfig.json ├── turbo.json └── yarn.lock /.editorconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Richou/react-native-android-location-enabler/HEAD/.editorconfig -------------------------------------------------------------------------------- /.gitattributes: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Richou/react-native-android-location-enabler/HEAD/.gitattributes -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/bug_report.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Richou/react-native-android-location-enabler/HEAD/.github/ISSUE_TEMPLATE/bug_report.yml -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/config.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Richou/react-native-android-location-enabler/HEAD/.github/ISSUE_TEMPLATE/config.yml -------------------------------------------------------------------------------- /.github/actions/setup/action.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Richou/react-native-android-location-enabler/HEAD/.github/actions/setup/action.yml -------------------------------------------------------------------------------- /.github/workflows/ci.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Richou/react-native-android-location-enabler/HEAD/.github/workflows/ci.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Richou/react-native-android-location-enabler/HEAD/.gitignore -------------------------------------------------------------------------------- /.nvmrc: -------------------------------------------------------------------------------- 1 | v20.19.0 2 | -------------------------------------------------------------------------------- /.watchmanconfig: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /.yarn/plugins/@yarnpkg/plugin-interactive-tools.cjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Richou/react-native-android-location-enabler/HEAD/.yarn/plugins/@yarnpkg/plugin-interactive-tools.cjs -------------------------------------------------------------------------------- /.yarn/plugins/@yarnpkg/plugin-workspace-tools.cjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Richou/react-native-android-location-enabler/HEAD/.yarn/plugins/@yarnpkg/plugin-workspace-tools.cjs -------------------------------------------------------------------------------- /.yarn/releases/yarn-3.6.1.cjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Richou/react-native-android-location-enabler/HEAD/.yarn/releases/yarn-3.6.1.cjs -------------------------------------------------------------------------------- /.yarnrc.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Richou/react-native-android-location-enabler/HEAD/.yarnrc.yml -------------------------------------------------------------------------------- /CODE_OF_CONDUCT.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Richou/react-native-android-location-enabler/HEAD/CODE_OF_CONDUCT.md -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Richou/react-native-android-location-enabler/HEAD/CONTRIBUTING.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Richou/react-native-android-location-enabler/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Richou/react-native-android-location-enabler/HEAD/README.md -------------------------------------------------------------------------------- /android/build.gradle: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Richou/react-native-android-location-enabler/HEAD/android/build.gradle -------------------------------------------------------------------------------- /android/gradle.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Richou/react-native-android-location-enabler/HEAD/android/gradle.properties -------------------------------------------------------------------------------- /android/src/main/AndroidManifest.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Richou/react-native-android-location-enabler/HEAD/android/src/main/AndroidManifest.xml -------------------------------------------------------------------------------- /android/src/main/java/com/heanoria/library/reactnative/locationenabler/AndroidLocationEnablerException.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Richou/react-native-android-location-enabler/HEAD/android/src/main/java/com/heanoria/library/reactnative/locationenabler/AndroidLocationEnablerException.kt -------------------------------------------------------------------------------- /android/src/main/java/com/heanoria/library/reactnative/locationenabler/AndroidLocationEnablerModule.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Richou/react-native-android-location-enabler/HEAD/android/src/main/java/com/heanoria/library/reactnative/locationenabler/AndroidLocationEnablerModule.kt -------------------------------------------------------------------------------- /android/src/main/java/com/heanoria/library/reactnative/locationenabler/AndroidLocationEnablerPackage.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Richou/react-native-android-location-enabler/HEAD/android/src/main/java/com/heanoria/library/reactnative/locationenabler/AndroidLocationEnablerPackage.kt -------------------------------------------------------------------------------- /assets/android-location-enabler.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Richou/react-native-android-location-enabler/HEAD/assets/android-location-enabler.gif -------------------------------------------------------------------------------- /babel.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Richou/react-native-android-location-enabler/HEAD/babel.config.js -------------------------------------------------------------------------------- /eslint.config.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Richou/react-native-android-location-enabler/HEAD/eslint.config.mjs -------------------------------------------------------------------------------- /example/.bundle/config: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Richou/react-native-android-location-enabler/HEAD/example/.bundle/config -------------------------------------------------------------------------------- /example/.watchmanconfig: -------------------------------------------------------------------------------- 1 | {} 2 | -------------------------------------------------------------------------------- /example/Gemfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Richou/react-native-android-location-enabler/HEAD/example/Gemfile -------------------------------------------------------------------------------- /example/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Richou/react-native-android-location-enabler/HEAD/example/README.md -------------------------------------------------------------------------------- /example/android/app/build.gradle: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Richou/react-native-android-location-enabler/HEAD/example/android/app/build.gradle -------------------------------------------------------------------------------- /example/android/app/debug.keystore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Richou/react-native-android-location-enabler/HEAD/example/android/app/debug.keystore -------------------------------------------------------------------------------- /example/android/app/proguard-rules.pro: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Richou/react-native-android-location-enabler/HEAD/example/android/app/proguard-rules.pro -------------------------------------------------------------------------------- /example/android/app/src/debug/AndroidManifest.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Richou/react-native-android-location-enabler/HEAD/example/android/app/src/debug/AndroidManifest.xml -------------------------------------------------------------------------------- /example/android/app/src/main/AndroidManifest.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Richou/react-native-android-location-enabler/HEAD/example/android/app/src/main/AndroidManifest.xml -------------------------------------------------------------------------------- /example/android/app/src/main/java/androidlocationenabler/example/MainActivity.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Richou/react-native-android-location-enabler/HEAD/example/android/app/src/main/java/androidlocationenabler/example/MainActivity.kt -------------------------------------------------------------------------------- /example/android/app/src/main/java/androidlocationenabler/example/MainApplication.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Richou/react-native-android-location-enabler/HEAD/example/android/app/src/main/java/androidlocationenabler/example/MainApplication.kt -------------------------------------------------------------------------------- /example/android/app/src/main/res/drawable/rn_edit_text_material.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Richou/react-native-android-location-enabler/HEAD/example/android/app/src/main/res/drawable/rn_edit_text_material.xml -------------------------------------------------------------------------------- /example/android/app/src/main/res/mipmap-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Richou/react-native-android-location-enabler/HEAD/example/android/app/src/main/res/mipmap-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /example/android/app/src/main/res/mipmap-hdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Richou/react-native-android-location-enabler/HEAD/example/android/app/src/main/res/mipmap-hdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /example/android/app/src/main/res/mipmap-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Richou/react-native-android-location-enabler/HEAD/example/android/app/src/main/res/mipmap-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /example/android/app/src/main/res/mipmap-mdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Richou/react-native-android-location-enabler/HEAD/example/android/app/src/main/res/mipmap-mdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /example/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Richou/react-native-android-location-enabler/HEAD/example/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /example/android/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Richou/react-native-android-location-enabler/HEAD/example/android/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /example/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Richou/react-native-android-location-enabler/HEAD/example/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /example/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Richou/react-native-android-location-enabler/HEAD/example/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /example/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Richou/react-native-android-location-enabler/HEAD/example/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /example/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Richou/react-native-android-location-enabler/HEAD/example/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /example/android/app/src/main/res/values/strings.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Richou/react-native-android-location-enabler/HEAD/example/android/app/src/main/res/values/strings.xml -------------------------------------------------------------------------------- /example/android/app/src/main/res/values/styles.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Richou/react-native-android-location-enabler/HEAD/example/android/app/src/main/res/values/styles.xml -------------------------------------------------------------------------------- /example/android/build.gradle: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Richou/react-native-android-location-enabler/HEAD/example/android/build.gradle -------------------------------------------------------------------------------- /example/android/gradle.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Richou/react-native-android-location-enabler/HEAD/example/android/gradle.properties -------------------------------------------------------------------------------- /example/android/gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Richou/react-native-android-location-enabler/HEAD/example/android/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /example/android/gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Richou/react-native-android-location-enabler/HEAD/example/android/gradle/wrapper/gradle-wrapper.properties -------------------------------------------------------------------------------- /example/android/gradlew: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Richou/react-native-android-location-enabler/HEAD/example/android/gradlew -------------------------------------------------------------------------------- /example/android/gradlew.bat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Richou/react-native-android-location-enabler/HEAD/example/android/gradlew.bat -------------------------------------------------------------------------------- /example/android/settings.gradle: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Richou/react-native-android-location-enabler/HEAD/example/android/settings.gradle -------------------------------------------------------------------------------- /example/app.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Richou/react-native-android-location-enabler/HEAD/example/app.json -------------------------------------------------------------------------------- /example/babel.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Richou/react-native-android-location-enabler/HEAD/example/babel.config.js -------------------------------------------------------------------------------- /example/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Richou/react-native-android-location-enabler/HEAD/example/index.js -------------------------------------------------------------------------------- /example/jest.config.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | preset: 'react-native', 3 | }; 4 | -------------------------------------------------------------------------------- /example/metro.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Richou/react-native-android-location-enabler/HEAD/example/metro.config.js -------------------------------------------------------------------------------- /example/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Richou/react-native-android-location-enabler/HEAD/example/package.json -------------------------------------------------------------------------------- /example/react-native.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Richou/react-native-android-location-enabler/HEAD/example/react-native.config.js -------------------------------------------------------------------------------- /example/src/App.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Richou/react-native-android-location-enabler/HEAD/example/src/App.tsx -------------------------------------------------------------------------------- /lefthook.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Richou/react-native-android-location-enabler/HEAD/lefthook.yml -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Richou/react-native-android-location-enabler/HEAD/package.json -------------------------------------------------------------------------------- /src/NativeAndroidLocationEnabler.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Richou/react-native-android-location-enabler/HEAD/src/NativeAndroidLocationEnabler.ts -------------------------------------------------------------------------------- /src/__tests__/index.test.tsx: -------------------------------------------------------------------------------- 1 | it.todo('write a test'); 2 | -------------------------------------------------------------------------------- /src/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Richou/react-native-android-location-enabler/HEAD/src/index.tsx -------------------------------------------------------------------------------- /tsconfig.build.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Richou/react-native-android-location-enabler/HEAD/tsconfig.build.json -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Richou/react-native-android-location-enabler/HEAD/tsconfig.json -------------------------------------------------------------------------------- /turbo.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Richou/react-native-android-location-enabler/HEAD/turbo.json -------------------------------------------------------------------------------- /yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Richou/react-native-android-location-enabler/HEAD/yarn.lock --------------------------------------------------------------------------------