Commit e45efdce authored by Luca Tomaino's avatar Luca Tomaino

Update android.md

parent 644cdd9f
......@@ -7,9 +7,9 @@
1. [Project Configuration](#project-configuration)
1. [Gradle](#gradle-configuration)
2. [ProGuard](#proguard-configuration)
3. [Mobile Key](#providing-the-mobile-key)
4. [Manifest](#manifest-configuration)
2. [Manifest](#manifest-configuration)
3. [ProGuard](#proguard-configuration)
4. [Mobile Key](#providing-the-mobile-key)
2. [Basic Operations](#basic-operations)
1. [Enabling/Disabling the SDK](#enablingdisabling-the-sdk)
2. [Handling blocking issues](#handling-blocking-issues)
......@@ -41,6 +41,17 @@ dependencies{
```
> Replace x.y.z with a specific version of library that you can find [here](https://bintray.com/geouniq/com.geouniq.android/geouniq-sdk/view/readmore#files)
### Manifest Configuration
If your app sets targetSdkVersion to "29" or higher, you should declare in your `AndrodiManifest.xml` this service:
```xml
<service
android:name="com.geouniq.android.ForegroundService"
android:foregroundServiceType="location" />
```
If you do not declare this service, GeoUniq SDK will NOT start.
### ProGuard Configuration
The library already contains its ProGuard configuration file, which will be merged with your application's during the build process.
......@@ -78,19 +89,6 @@ buildTypes {
}
```
### Manifest Configuration
If your app sets targetSdkVersion to "29" or higher, you should declare in your `AndrodiManifest.xml` this service:
```xml
<service
android:name="com.geouniq.android.ForegroundService"
android:foregroundServiceType="location" />
```
If you do not declare this service, GeoUniq SDK will NOT start.
## Basic operations
* [Enabling/Disabling the SDK](#enablingdisabling-the-sdk)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment