Browse Source

Change android package name

Hau Vo 7 years ago
parent
commit
bb30e05f76

+ 1
- 1
Example/package.json View File

1
 {
1
 {
2
-	"name": "Example",
2
+	"name": "rnthumbnail-example",
3
 	"version": "0.0.1",
3
 	"version": "0.0.1",
4
 	"private": true,
4
 	"private": true,
5
 	"scripts": {
5
 	"scripts": {

+ 1
- 1
android/src/main/AndroidManifest.xml View File

1
 
1
 
2
 <manifest xmlns:android="http://schemas.android.com/apk/res/android"
2
 <manifest xmlns:android="http://schemas.android.com/apk/res/android"
3
-          package="io.thumbnail">
3
+          package="me.hauvo.thumbnail">
4
 
4
 
5
 </manifest>
5
 </manifest>
6
   
6
   

android/src/main/java/io/thumbnail/RNThumbnailModule.java → android/src/main/java/me/hauvo/thumbnail/RNThumbnailModule.java View File

1
 
1
 
2
-package io.thumbnail;
2
+package me.hauvo.thumbnail;
3
 
3
 
4
 import com.facebook.react.bridge.ReactApplicationContext;
4
 import com.facebook.react.bridge.ReactApplicationContext;
5
 import com.facebook.react.bridge.ReactContextBaseJavaModule;
5
 import com.facebook.react.bridge.ReactContextBaseJavaModule;

android/src/main/java/io/thumbnail/RNThumbnailPackage.java → android/src/main/java/me/hauvo/thumbnail/RNThumbnailPackage.java View File

1
 
1
 
2
-package io.thumbnail;
2
+package me.hauvo.thumbnail;
3
 
3
 
4
 import java.util.Arrays;
4
 import java.util.Arrays;
5
 import java.util.Collections;
5
 import java.util.Collections;
10
 import com.facebook.react.bridge.ReactApplicationContext;
10
 import com.facebook.react.bridge.ReactApplicationContext;
11
 import com.facebook.react.uimanager.ViewManager;
11
 import com.facebook.react.uimanager.ViewManager;
12
 import com.facebook.react.bridge.JavaScriptModule;
12
 import com.facebook.react.bridge.JavaScriptModule;
13
+
13
 public class RNThumbnailPackage implements ReactPackage {
14
 public class RNThumbnailPackage implements ReactPackage {
14
     @Override
15
     @Override
15
     public List<NativeModule> createNativeModules(ReactApplicationContext reactContext) {
16
     public List<NativeModule> createNativeModules(ReactApplicationContext reactContext) {