Comments (2)
Need to change all the imports from android support library to androidx library. Was facing the same issue, but changing all the android support library imports to androidx library solved the problem.
But first, you need to mention all the required libraries in your dependencies block in app/build.gradle file like this-
implementation('androidx.appcompat:appcompat:1.4.0') implementation('androidx.legacy:legacy-support-v4:1.0.0') implementation('androidx.annotation:annotation:1.4.0')
from react-native-boundary.
It seems like you need to force the versions within your android/build.gradle
file. You can do that by adding
ext {
compileSdkVersion = 27
buildToolsVersion = "27.0.3"
targetSdkVersion = 26
minSdkVersion = 16
supportLibVersion = "27.1.1"
googlePlayServicesVersion = "11+"
}
To the file, then reference it within your android/app/build.gradle
like so,
android {
compileSdkVersion rootProject.ext.compileSdkVersion
buildToolsVersion rootProject.ext.buildToolsVersion
...
defaultConfig {
...
minSdkVersion rootProject.ext.minSdkVersion
targetSdkVersion rootProject.ext.targetSdkVersion
...
}
dependencies {
...
compile "com.android.support:appcompat-v7:$rootProject.supportLibVersion"
...
}
If that doesn't work, then try to search around for how to force versions in Android. Hope this helps!
from react-native-boundary.
Related Issues (20)
- How to check boundary for a line/route between two points? HOT 1
- Pod Fail - HOT 5
- Boundary "on Enter" not firing on iOS 13
- New Event - Currently in the added geofence or not
- events not firing in android 10 in react-native 0.61.5 HOT 6
- Headless event listener not called when app is killed HOT 24
- [Android] Re-register boundaries on device boot
- Problem in testing the app HOT 1
- Boundary dont start when i allow only use in app HOT 4
- Is there any way that we can get events for Gps Turned off/on?
- Updated podspec file
- Headlessjs doesn't take effect when app is killed and when is background
- Issue PendingIntent.FLAG_IMMUTABLE app crashed on Android app Target 31 (Android 12) HOT 1
- Got error code 1004
- React Native Boundary Enter and Exit Trigger
- App Error JobIntentService HOT 2
- Pemission issue HOT 1
- need to reboot device for geofence in/out events
- how to integrate in kotlin
- new NativeEventEmitter()` requires a non-null argument.
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-boundary.