File tree 2 files changed +9
-5
lines changed 2 files changed +9
-5
lines changed Original file line number Diff line number Diff line change @@ -27,6 +27,10 @@ def DEFAULT_MIN_SDK_VERSION = 16
27
27
def DEFAULT_TARGET_SDK_VERSION = 31
28
28
29
29
android {
30
+ def agpVersion = com.android.Version . ANDROID_GRADLE_PLUGIN_VERSION . tokenize(' .' )[0 ]. toInteger()
31
+ if (agpVersion >= 7 ) {
32
+ namespace ' com.proyecto26.inappbrowser'
33
+ }
30
34
compileSdkVersion safeExtGet(' compileSdkVersion' , DEFAULT_COMPILE_SDK_VERSION )
31
35
buildToolsVersion safeExtGet(' buildToolsVersion' , DEFAULT_BUILD_TOOLS_VERSION )
32
36
defaultConfig {
@@ -51,7 +55,8 @@ repositories {
51
55
dependencies {
52
56
implementation fileTree(dir : ' libs' , include : [' *.jar' ])
53
57
implementation ' com.facebook.react:react-native:+'
54
- implementation ' org.greenrobot:eventbus:3.3.1'
58
+ def eventbusVersion = safeExtGet(' eventbus' , safeExtGet(' eventbus' , ' 3.3.1' ))
59
+ implementation " org.greenrobot:eventbus:$eventbusVersion "
55
60
def supportLibVersion = safeExtGet(' supportLibVersion' , safeExtGet(' supportVersion' , null ))
56
61
def androidXAnnotationVersion = safeExtGet(' androidXAnnotationVersion' , null )
57
62
def androidXBrowserVersion = safeExtGet(' androidXBrowserVersion' , null )
Original file line number Diff line number Diff line change 1
1
<?xml version =" 1.0" encoding =" utf-8" ?>
2
2
<manifest xmlns : android =" http://schemas.android.com/apk/res/android"
3
- package =" com.proyecto26.inappbrowser" >
3
+ package =" com.proyecto26.inappbrowser" >
4
4
5
5
<uses-permission android : name =" android.permission.INTERNET" />
6
6
7
7
<application >
8
- <activity
9
- android : name =" .ChromeTabsManagerActivity"
10
- android : exported =" false" >
8
+ <activity android : name =" .ChromeTabsManagerActivity"
9
+ android : exported =" false" >
11
10
</activity >
12
11
</application >
13
12
<queries >
You can’t perform that action at this time.
0 commit comments