Comments (2)
Plugin version: 4.16.2
There's no way you're getting that error from 4.16.2
.
at android.content.ContextWrapper.registerReceiver(ContextWrapper.java:755)
at com.transistorsoft.locationmanager.device.DeviceSettings.startMonitoringPowerSaveChanges(Unknown Source:61)
I've been using targetSdkVersion 34
for nearly a year. The source-code from the SDK for calling .registerReceiver
has been supplying the param Context.RECEIVER_NOT_EXPORTED
since July 2023.
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.O) {
context.registerReceiver(mPowerSaveChangeReceiver, filter, Context.RECEIVER_NOT_EXPORTED);
} else {
context.registerReceiver(mPowerSaveChangeReceiver, filter);
}
from react-native-background-geolocation.
This error was fixed in v4.13.1
, published last August.
[Android] Android 14 (API 34) support: Fix error "One of RECEIVER_EXPORTED or RECEIVER_NOT_EXPORTED should be specified" in DeviceSettings.startMonitoringPowerSaveChanges.
from react-native-background-geolocation.
Related Issues (20)
- State change HOT 12
- Question about preventSuspend HOT 5
- Basic Doubts HOT 6
- Expo integration HOT 6
- Post Payload Optimization HOT 2
- Permissions in Background Tracking HOT 5
- Start Tracking on Closed Application HOT 8
- App Hanging -[TSLocationManager queue:type:] HOT 17
- Permissions HOT 2
- StopTimeout not Working HOT 13
- Background Location not detecting on few devices like Oneplus , Apple Iphone 15 pro HOT 5
- Background Location not detecting on few devices like Oneplus , Apple Iphone 15 pro HOT 1
- Background Location Stop Detecting Very Late After Stopped HOT 1
- Background Location Stop Detecting Very Late After Stopped HOT 6
- java.lang.IncompatibleClassChangeError upon update from Expo SDK 49 to 51 HOT 1
- The operation couldn’t be completed. Background procssing task was not registered in AppDelegate didFinishLaunchingWithOptions. See iOS Setup Guide. HOT 3
- Realtime Database Firebase HOT 13
- Strange background location indicator - can't turn off HOT 4
- onEnabled and onGeofence not triggering on production but does work on development HOT 8
- Schedule is not working as expected in IOS HOT 12
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from react-native-background-geolocation.