Commit ed1ee71c authored by Simon Xu's avatar Simon Xu Committed by Simon Xu
Browse files

[Android] upgrade target SDK to 30

and solve the package manager issue.
parent 0ead3758
......@@ -5,11 +5,11 @@ android {
aaptOptions {
noCompress "webp"
}
compileSdkVersion 29
compileSdkVersion 30
defaultConfig {
applicationId "com.example.samplestickerapp"
applicationId "com.simonxu.samplestickerapp"
minSdkVersion 15
targetSdkVersion 29
targetSdkVersion 30
versionCode 1
versionName "1.0"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
......@@ -100,13 +100,13 @@ tasks.whenTaskAdded { task ->
dependencies {
implementation fileTree(include: ['*.jar'], dir: 'libs')
implementation 'androidx.appcompat:appcompat:1.1.0'
implementation 'com.google.android.material:material:1.1.0'
implementation 'androidx.appcompat:appcompat:1.2.0'
implementation 'com.google.android.material:material:1.2.1'
testImplementation 'junit:junit:4.13'
androidTestImplementation 'androidx.test:runner:1.2.0'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.2.0'
androidTestImplementation 'androidx.test:runner:1.3.0'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.3.0'
implementation 'androidx.recyclerview:recyclerview:1.1.0'
implementation 'androidx.constraintlayout:constraintlayout:1.1.3'
implementation 'androidx.constraintlayout:constraintlayout:2.0.4'
def fresco_version = '2.2.0'
implementation "com.facebook.fresco:fresco:$fresco_version"
implementation "com.facebook.fresco:webpsupport:$fresco_version"
......
......@@ -45,4 +45,11 @@
android:exported="true"
android:readPermission="com.whatsapp.sticker.READ" />
</application>
<!-- to be able to query the whitelist status in WhatsApp
https://developer.android.com/training/basics/intents/package-visibility#package-name -->
<queries>
<package android:name="com.whatsapp" />
<package android:name="com.whatsapp.w4b" />
</queries>
</manifest>
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment