File tree Expand file tree Collapse file tree 3 files changed +7
-4
lines changed
Expand file tree Collapse file tree 3 files changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -26,6 +26,11 @@ def getExtOrIntegerDefault(name) {
2626}
2727
2828android {
29+ def agpVersion = com.android.Version . ANDROID_GRADLE_PLUGIN_VERSION
30+ if (agpVersion. tokenize(' .' )[0 ]. toInteger() >= 7 ) {
31+ namespace " com.reactnativeshadowview"
32+ }
33+
2934 compileSdkVersion getExtOrIntegerDefault(' compileSdkVersion' )
3035 buildToolsVersion getExtOrDefault(' buildToolsVersion' )
3136 defaultConfig {
Original file line number Diff line number Diff line change 1- <manifest xmlns : android =" http://schemas.android.com/apk/res/android"
2- package =" com.reactnativeshadowview" >
3-
1+ <manifest xmlns : android =" http://schemas.android.com/apk/res/android" >
42</manifest >
Original file line number Diff line number Diff line change 11{
22 "name" : " @dimaportenko/react-native-shadow-view" ,
3- "version" : " 0.1.5 " ,
3+ "version" : " 0.1.6 " ,
44 "description" : " React Native library with Android native view which supports same shadows styles as iOS " ,
55 "main" : " lib/commonjs/index" ,
66 "module" : " lib/module/index" ,
You can’t perform that action at this time.
0 commit comments