Skip to content

Commit ef130d9

Browse files
committed
Update example app to target version 33
Also setting android:exported to true in the manifest for testing the example app
1 parent 7e72e36 commit ef130d9

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

example/android/app/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ apply plugin: 'com.android.application'
2929
apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"
3030

3131
android {
32-
compileSdkVersion 28
32+
compileSdkVersion 33
3333

3434
lintOptions {
3535
disable 'InvalidPackage'
@@ -39,7 +39,7 @@ android {
3939
// TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
4040
applicationId "com.onesignal.onesignalexample"
4141
minSdkVersion 16
42-
targetSdkVersion 28
42+
targetSdkVersion 33
4343
versionCode 1
4444
versionName "1.0"
4545
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"

example/android/app/src/main/AndroidManifest.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
android:icon="@mipmap/ic_launcher">
2424
<activity
2525
android:name=".MainActivity"
26+
android:exported="true"
2627
android:launchMode="singleTop"
2728
android:theme="@style/LaunchTheme"
2829
android:configChanges="orientation|keyboardHidden|keyboard|screenSize|locale|layoutDirection|fontScale|screenLayout|density"

0 commit comments

Comments
 (0)