mirror of
				https://gitcode.com/gh_mirrors/re/react-native-pushy.git
				synced 2025-10-31 13:23:12 +08:00 
			
		
		
		
	Update example to 0.66.0
This commit is contained in:
		| @@ -120,15 +120,16 @@ def jscFlavor = 'org.webkit:android-jsc:+' | ||||
|  */ | ||||
| def enableHermes = project.ext.react.get("enableHermes", false); | ||||
|  | ||||
| /** | ||||
|  * Architectures to build native code for in debug. | ||||
|  */ | ||||
| def nativeArchitectures = project.getProperties().get("reactNativeDebugArchitectures") | ||||
|  | ||||
|  | ||||
| android { | ||||
|     ndkVersion rootProject.ext.ndkVersion | ||||
|     compileSdkVersion rootProject.ext.compileSdkVersion | ||||
|  | ||||
|     compileOptions { | ||||
|         sourceCompatibility JavaVersion.VERSION_1_8 | ||||
|         targetCompatibility JavaVersion.VERSION_1_8 | ||||
|     } | ||||
|  | ||||
|     defaultConfig { | ||||
|         applicationId "com.testhotupdate" | ||||
|         minSdkVersion rootProject.ext.minSdkVersion | ||||
| @@ -155,6 +156,11 @@ android { | ||||
|     buildTypes { | ||||
|         debug { | ||||
|             signingConfig signingConfigs.debug | ||||
|             if (nativeArchitectures) { | ||||
|                 ndk { | ||||
|                     abiFilters nativeArchitectures.split(',') | ||||
|                 } | ||||
|             } | ||||
|         } | ||||
|         release { | ||||
|             crunchPngs false | ||||
| @@ -213,9 +219,9 @@ dependencies { | ||||
| } | ||||
|  | ||||
| // Run this once to be able to run the application with BUCK | ||||
| // puts all compile dependencies into folder libs for BUCK to use | ||||
| // puts all implementation dependencies into folder libs for BUCK to use | ||||
| task copyDownloadableDepsToLibs(type: Copy) { | ||||
|     from configurations.compile | ||||
|     from configurations.implementation | ||||
|     into 'libs' | ||||
| } | ||||
|  | ||||
|   | ||||
| @@ -3,7 +3,6 @@ | ||||
|     <!-- Base application theme. --> | ||||
|     <style name="AppTheme" parent="Theme.AppCompat.DayNight.NoActionBar"> | ||||
|         <!-- Customize your theme here. --> | ||||
|         <item name="android:textColor">#000000</item> | ||||
|     </style> | ||||
|  | ||||
| </resources> | ||||
|   | ||||
| @@ -2,18 +2,18 @@ | ||||
|  | ||||
| buildscript { | ||||
|     ext { | ||||
|         buildToolsVersion = "29.0.3" | ||||
|         buildToolsVersion = "30.0.2" | ||||
|         minSdkVersion = 21 | ||||
|         compileSdkVersion = 29 | ||||
|         targetSdkVersion = 29 | ||||
|         ndkVersion = "20.1.5948944" | ||||
|         compileSdkVersion = 30 | ||||
|         targetSdkVersion = 30 | ||||
|         ndkVersion = "21.4.7075529" | ||||
|     } | ||||
|     repositories { | ||||
|         google() | ||||
|         jcenter() | ||||
|         mavenCentral() | ||||
|     } | ||||
|     dependencies { | ||||
|         classpath('com.android.tools.build:gradle:4.1.0') | ||||
|         classpath('com.android.tools.build:gradle:4.2.2') | ||||
|  | ||||
|         // NOTE: Do not place your application dependencies here; they belong | ||||
|         // in the individual module build.gradle files | ||||
| @@ -22,6 +22,7 @@ buildscript { | ||||
|  | ||||
| allprojects { | ||||
|     repositories { | ||||
|         mavenCentral() | ||||
|         mavenLocal() | ||||
|         maven { | ||||
|             // All of React Native (JS, Obj-C sources, Android binaries) is installed from npm | ||||
| @@ -33,7 +34,6 @@ allprojects { | ||||
|         } | ||||
|  | ||||
|         google() | ||||
|         jcenter() | ||||
|         maven { url 'https://www.jitpack.io' } | ||||
|     } | ||||
| } | ||||
|   | ||||
| @@ -25,4 +25,4 @@ android.useAndroidX=true | ||||
| android.enableJetifier=true | ||||
|  | ||||
| # Version of flipper SDK to use with React Native | ||||
| FLIPPER_VERSION=0.84.0 | ||||
| FLIPPER_VERSION=0.99.0 | ||||
| @@ -1,5 +1,5 @@ | ||||
| distributionBase=GRADLE_USER_HOME | ||||
| distributionPath=wrapper/dists | ||||
| distributionUrl=https\://services.gradle.org/distributions/gradle-6.7-all.zip | ||||
| distributionUrl=https\://services.gradle.org/distributions/gradle-6.9-all.zip | ||||
| zipStoreBase=GRADLE_USER_HOME | ||||
| zipStorePath=wrapper/dists | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 sunnylqm
					sunnylqm