Skip to content

Commit c2aee6d

Browse files
committed
Android fix issue darron1217#10 - crash on refresh
Android onStationary Android getLogEntries Android create gradle project Android remove location filtering Android db logging instead of file
1 parent cf02ee1 commit c2aee6d

61 files changed

Lines changed: 762 additions & 510 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
.DS_Store
12
node_modules
23
npm-debug.log
34

CHANGES.md

Lines changed: 16 additions & 0 deletions

ISSUE_TEMPLATE.md

Lines changed: 5 additions & 0 deletions

README.md

Lines changed: 122 additions & 5 deletions

android/build.gradle

Lines changed: 10 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,14 @@
1-
apply plugin: 'com.android.library'
2-
3-
android {
4-
compileSdkVersion 23
5-
buildToolsVersion "23.0.1"
6-
7-
defaultConfig {
8-
minSdkVersion 16
9-
targetSdkVersion 22
10-
versionCode 2
11-
versionName "0.2.0-alpha.2"
1+
buildscript {
2+
repositories {
3+
jcenter()
4+
}
5+
dependencies {
6+
classpath 'com.android.tools.build:gradle:2.1.3'
127
}
138
}
149

15-
dependencies {
16-
compile 'com.facebook.react:react-native:+'
17-
compile 'com.android.support:support-v4:+'
18-
compile 'com.google.android.gms:play-services-location:+'
19-
compile 'com.github.tony19:logback-android-core:1.1.1-4'
20-
compile 'com.github.tony19:logback-android-classic:1.1.1-4'
21-
compile 'org.slf4j:slf4j-api:1.7.6'
10+
allprojects {
11+
repositories {
12+
jcenter()
13+
}
2214
}

android/gradle.properties

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
# Project-wide Gradle settings.
2+
3+
# IDE (e.g. Android Studio) users:
4+
# Gradle settings configured through the IDE *will override*
5+
# any settings specified in this file.
6+
7+
# For more details on how to configure your build environment visit
8+
# http://www.gradle.org/docs/current/userguide/build_environment.html
9+
10+
# Specifies the JVM arguments used for the daemon process.
11+
# The setting is particularly useful for tweaking memory settings.
12+
# Default value: -Xmx10248m -XX:MaxPermSize=256m
13+
# org.gradle.jvmargs=-Xmx2048m -XX:MaxPermSize=512m -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8
14+
15+
# When configured, Gradle will run in incubating parallel mode.
16+
# This option should only be used with decoupled projects. More details, visit
17+
# http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
18+
# org.gradle.parallel=true
52.4 KB
Binary file not shown.
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
#Thu Sep 01 09:25:02 CEST 2016
2+
distributionBase=GRADLE_USER_HOME
3+
distributionPath=wrapper/dists
4+
zipStoreBase=GRADLE_USER_HOME
5+
zipStorePath=wrapper/dists
6+
distributionUrl=https\://services.gradle.org/distributions/gradle-2.14.1-all.zip

android/lib/build.gradle

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
apply plugin: 'com.android.library'
2+
3+
android {
4+
compileSdkVersion 23
5+
buildToolsVersion "23.0.3"
6+
7+
defaultConfig {
8+
minSdkVersion 16
9+
targetSdkVersion 23
10+
versionCode 3
11+
versionName "0.2.0-alpha.3"
12+
}
13+
}
14+
15+
dependencies {
16+
compile 'com.facebook.react:react-native:+'
17+
compile 'com.android.support:support-v4:+'
18+
compile 'com.google.android.gms:play-services-location:+'
19+
compile 'com.github.tony19:logback-android-core:1.1.1-6'
20+
compile 'com.github.tony19:logback-android-classic:1.1.1-6'
21+
compile 'org.slf4j:slf4j-api:1.7.21'
22+
}
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?xml version='1.0' encoding='utf-8'?>
2-
<manifest android:hardwareAccelerated="true" android:versionCode="705" android:versionName="0.2.0-alpha.2" package="com.marianhello.react" xmlns:android="http://schemas.android.com/apk/res/android">
2+
<manifest android:hardwareAccelerated="true" package="com.marianhello.react" xmlns:android="http://schemas.android.com/apk/res/android">
33
<application android:hardwareAccelerated="true" android:supportsRtl="true">
44
<meta-data android:name="com.google.android.gms.version" android:value="@integer/google_play_services_version" />
55
<service
@@ -45,5 +45,5 @@
4545
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
4646
<uses-permission android:name="android.permission.ACCESS_LOCATION_EXTRA_COMMANDS" />
4747
<uses-permission android:name="android.permission.INTERNET" />
48-
<uses-permission android:name="android.permission.WAKE_LOCK" />
48+
<uses-permission android:name="android.permission.WAKE_LOCK" />
4949
</manifest>

0 commit comments

Comments
 (0)