Skip to content

Commit

Permalink
Changing the package name and updating build tools version
Browse files Browse the repository at this point in the history
  • Loading branch information
juliano.santos committed Jul 26, 2018
1 parent eb59324 commit cfad938
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 10 deletions.
8 changes: 4 additions & 4 deletions android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@
apply plugin: 'com.android.library'

android {
compileSdkVersion 25
buildToolsVersion "25.0.3"
compileSdkVersion 26
buildToolsVersion "27.0.3"

defaultConfig {
minSdkVersion 16
targetSdkVersion 22
targetSdkVersion 26
versionCode 1
versionName "1.0"
ndk {
Expand All @@ -20,6 +20,6 @@ android {
}

dependencies {
compile 'com.facebook.react:react-native:0.20.+'
implementation 'com.facebook.react:react-native:+'
}

4 changes: 2 additions & 2 deletions android/gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#Mon Dec 28 10:00:20 PST 2015
#Wed Jul 25 17:53:25 BRT 2018
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-2.14.1-all.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-4.6-all.zip
2 changes: 1 addition & 1 deletion android/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@

<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.kevinresol.defaultpreference">
package="com.kevinresol.react_native_default_preference">

</manifest>

Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

package com.reactlibrary;
package com.kevinresol.react_native_default_preference;

import android.content.Context;
import android.content.SharedPreferences;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

package com.reactlibrary;
package com.kevinresol.react_native_default_preference;

import java.util.Arrays;
import java.util.Collections;
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

{
"name": "react-native-default-preference",
"version": "1.3.1",
"version": "1.3.2",
"description": "Use SharedPreference (Android) and UserDefaults (iOS) with React Native over a unified interface",
"main": "index.js",
"scripts": {
Expand Down

0 comments on commit cfad938

Please sign in to comment.