Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Sridatta Gorugantula
Stickers
Commits
ed1ee71c
Commit
ed1ee71c
authored
Jan 12, 2021
by
Simon Xu
Committed by
Simon Xu
Jan 12, 2021
Browse files
[Android] upgrade target SDK to 30
and solve the package manager issue.
parent
0ead3758
Changes
2
Hide whitespace changes
Inline
Side-by-side
Android/app/build.gradle
View file @
ed1ee71c
...
...
@@ -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"
...
...
Android/app/src/main/AndroidManifest.xml
View file @
ed1ee71c
...
...
@@ -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>
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment