Skip to content

Commit c6e8fdb

Browse files
committed
Configure Android namespace to fix missing namespace issue on Gradle >= 8.x
1 parent 88a1bd5 commit c6e8fdb

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

android/build.gradle

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@ rootProject.allprojects {
2525
apply plugin: 'com.android.library'
2626

2727
android {
28+
namespace 'com.pdftron.pdftronflutter'
29+
2830
compileSdkVersion 33
2931

3032
defaultConfig {

android/gradle.properties

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
org.gradle.jvmargs=-Xmx1536M
22
android.enableR8=true
3+
android.nonTransitiveRClass=false

android/src/main/AndroidManifest.xml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
2-
package="com.pdftron.pdftronflutter">
1+
<manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.pdftron.pdftronflutter">
32

43
<application>
54

0 commit comments

Comments
 (0)