-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
94 changed files
with
1,189 additions
and
1,266 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,10 @@ | ||
.DS_Store | ||
node_modules | ||
npm-debug.log | ||
|
||
# Xcode | ||
xcuserdata | ||
project.xcworkspace | ||
|
||
# Android/IJ | ||
.idea | ||
*.iml | ||
.gradle | ||
/local.properties | ||
/.idea | ||
.DS_Store | ||
/build | ||
/captures | ||
.externalNativeBuild | ||
.cxx | ||
local.properties | ||
*.iml | ||
build | ||
*.skip |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,5 @@ | ||
Background Geolocation for Android | ||
|
||
[![CircleCI](https://circleci.com/gh/mauron85/background-geolocation-android/tree/master.svg?style=shield)](https://circleci.com/gh/mauron85/background-geolocation-android/tree/master) | ||
|
||
used by: | ||
|
||
* [react-native-background-geolocation](https://github.com/mauron85/react-native-background-geolocation) | ||
|
||
* [cordova-plugin-background-geolocation](https://github.com/mauron85/cordova-plugin-background-geolocation) | ||
* [react-native-background-geolocation](https://github.com/gennadysx/react-native-background-geolocation) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
/build |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,105 @@ | ||
apply plugin: 'com.android.application' | ||
apply plugin: 'maven-publish' | ||
apply plugin: 'signing' | ||
apply plugin: 'org.jetbrains.kotlin.android' | ||
|
||
|
||
apply from: './VERSIONS.gradle' | ||
def accountPrefix = getAccountPrefix() | ||
def resourcePrefix = getResourcePrefix() | ||
|
||
// https://hackernoon.com/android-how-to-add-gradle-dependencies-using-foreach-c4cbcc070458 | ||
def projDependencies = [ | ||
[configuration: "implementation", dependency: androidLibs.playServicesLocation], | ||
[configuration: "implementation", dependency: androidLibs.supportCompat], | ||
[configuration: "implementation", dependency: androidLibs.appcompat], | ||
[configuration: "implementation", dependency: libs.permissions, | ||
options: { exclude group: 'com.android.support', module: 'appcompat-v7'}], | ||
[configuration: "implementation", dependency: libs.logback], | ||
[configuration: "implementation", dependency: libs.slf4j], | ||
[configuration: "implementation", dependency: libs.promise], | ||
] | ||
|
||
buildscript { | ||
repositories { | ||
maven { | ||
url 'https://maven.google.com/' | ||
name 'Google' | ||
} | ||
jcenter() | ||
gradlePluginPortal() | ||
google() | ||
mavenCentral() | ||
} | ||
dependencies { | ||
classpath 'com.android.tools.build:gradle:7.0.4' | ||
|
||
// NOTE: Do not place your application dependencies here; they belong | ||
// in the individual module build.gradle files | ||
} | ||
} | ||
|
||
android { | ||
|
||
compileSdkVersion project.ext.getCompileSdkVersion() | ||
buildToolsVersion project.ext.getBuildToolsVersion() | ||
|
||
// Tip: https://stackoverflow.com/questions/39987669/renamingdelegatingcontext-is-deprecated-how-do-we-test-sqlite-db-now/52170737#52170737 | ||
// Gradle automatically adds 'android.test.runner' as a dependency. | ||
|
||
defaultConfig { | ||
resValue "string", resourcePrefix + "account_name", 'Locations' | ||
resValue "string", resourcePrefix + "account_type", accountPrefix + '.account' | ||
resValue "string", resourcePrefix + "content_authority", accountPrefix + '.provider' | ||
minSdkVersion project.ext.getMinSdkVersion() | ||
versionCode 2 | ||
versionName "1.0.1" | ||
} | ||
|
||
buildTypes { | ||
release { | ||
minifyEnabled false | ||
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' | ||
} | ||
|
||
} | ||
|
||
lintOptions { | ||
abortOnError false | ||
} | ||
|
||
compileOptions { | ||
sourceCompatibility JavaVersion.VERSION_11 | ||
targetCompatibility JavaVersion.VERSION_11 | ||
} | ||
|
||
publishing { | ||
singleVariant("release") { | ||
withSourcesJar() | ||
withJavadocJar() | ||
} | ||
} | ||
|
||
} | ||
|
||
dependencies { | ||
projDependencies.each { | ||
add(it.configuration, it.dependency) | ||
} | ||
implementation fileTree(include: ['*.jar'], dir: 'libs') | ||
} | ||
|
||
|
||
|
||
afterEvaluate { | ||
publishing { | ||
publications { | ||
release(MavenPublication) { | ||
groupId = "com.gennadysx" | ||
artifactId = "geolocation" | ||
version = "1.0.1" | ||
from components.release | ||
} | ||
} | ||
} | ||
} |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...gennadysx/bgloc/ConnectivityListener.java → ...olocation/bgloc/ConnectivityListener.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.