File tree Expand file tree Collapse file tree 8 files changed +15
-10
lines changed
java/com/androidprogressbar Expand file tree Collapse file tree 8 files changed +15
-10
lines changed Original file line number Diff line number Diff line change 1
1
<?xml version =" 1.0" encoding =" UTF-8" ?>
2
2
<classpath >
3
- <classpathentry kind =" con" path =" org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.8 /" />
3
+ <classpathentry kind =" con" path =" org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-12 /" />
4
4
<classpathentry kind =" con" path =" org.eclipse.buildship.core.gradleclasspathcontainer" />
5
5
<classpathentry kind =" output" path =" bin/default" />
6
6
</classpath >
Original file line number Diff line number Diff line change
1
+ eclipse.preferences.version =1
2
+ org.eclipse.jdt.core.compiler.codegen.targetPlatform =13
3
+ org.eclipse.jdt.core.compiler.compliance =13
4
+ org.eclipse.jdt.core.compiler.source =13
Original file line number Diff line number Diff line change @@ -35,12 +35,12 @@ android_library(
35
35
36
36
android_build_config (
37
37
name = "build_config" ,
38
- package = "com.androidprogressbarexample " ,
38
+ package = "com.androidprogressbar " ,
39
39
)
40
40
41
41
android_resource (
42
42
name = "res" ,
43
- package = "com.androidprogressbarexample " ,
43
+ package = "com.androidprogressbar " ,
44
44
res = "src/main/res" ,
45
45
)
46
46
Original file line number Diff line number Diff line change @@ -73,7 +73,7 @@ import com.android.build.OutputFile
73
73
*/
74
74
75
75
project. ext. react = [
76
- entryFile : " example/ index.js"
76
+ entryFile : " index.js"
77
77
]
78
78
79
79
apply from : " ../../../node_modules/react-native/react.gradle"
@@ -102,7 +102,7 @@ android {
102
102
}
103
103
104
104
defaultConfig {
105
- applicationId " com.androidprogressbarexample "
105
+ applicationId " com.androidprogressbar "
106
106
minSdkVersion rootProject. ext. minSdkVersion
107
107
targetSdkVersion rootProject. ext. targetSdkVersion
108
108
versionCode 1
@@ -141,7 +141,6 @@ dependencies {
141
141
implementation fileTree(dir : " libs" , include : [" *.jar" ])
142
142
implementation " com.android.support:appcompat-v7:${ rootProject.ext.supportLibVersion} "
143
143
implementation " com.facebook.react:react-native:+" // From node_modules
144
- implementation project(' :react-native-progress-bar-android' )
145
144
}
146
145
147
146
// Run this once to be able to run the application with BUCK
Original file line number Diff line number Diff line change 1
1
<manifest xmlns : android =" http://schemas.android.com/apk/res/android"
2
- package =" com.androidprogressbarexample " >
2
+ package =" com.androidprogressbar " >
3
3
4
4
<uses-permission android : name =" android.permission.INTERNET" />
5
5
Original file line number Diff line number Diff line change 1
- package com .androidprogressbarexample ;
1
+ package com .androidprogressbar ;
2
2
3
3
import com .facebook .react .ReactActivity ;
4
4
File renamed without changes.
Original file line number Diff line number Diff line change 4
4
"description" : " React Native Android Progress Bar" ,
5
5
"main" : " index.js" ,
6
6
"scripts" : {
7
- "test" : " echo \" Error: no test specified\" && exit 1" ,
8
- "start" : " node node_modules/react-native/local-cli/cli.js start"
7
+ "start" : " node node_modules/react-native/local-cli/cli.js start" ,
8
+ "start:android" : " adb shell am start -n com.androidprogressbar/.MainActivity" ,
9
+ "build:android" : " cd example/android && ./gradlew installDebug && cd ../.. && npm run start:android" ,
10
+ "test" : " jest"
9
11
},
10
12
"keywords" : [
11
13
" react-native" ,
You can’t perform that action at this time.
0 commit comments