Skip to content

Commit

Permalink
fix: Use API 30 required queries for opening links and sending emails
Browse files Browse the repository at this point in the history
  • Loading branch information
nstrelow committed Feb 11, 2022
1 parent d6996a4 commit 9aef658
Show file tree
Hide file tree
Showing 8 changed files with 39 additions and 18 deletions.
22 changes: 11 additions & 11 deletions app/android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -48,20 +48,20 @@ android {
}

signingConfigs {
release {
keyAlias keystoreProperties['keyAlias']
keyPassword keystoreProperties['keyPassword']
storeFile rootProject.file(keystoreProperties['storeFile'])
storePassword keystoreProperties['storePassword']
}
// release {
// keyAlias keystoreProperties['keyAlias']
// keyPassword keystoreProperties['keyPassword']
// storeFile rootProject.file(keystoreProperties['storeFile'])
// storePassword keystoreProperties['storePassword']
// }
}

buildTypes {
release {
minifyEnabled true
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
signingConfig signingConfigs.release
}
// release {
// minifyEnabled true
// proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
// signingConfig signingConfigs.release
// }
}
}

Expand Down
15 changes: 15 additions & 0 deletions app/android/app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,21 @@
package="health.studyu.app">

<uses-permission android:name="android.permission.INTERNET"/>
<queries>
<intent>
<action android:name="android.intent.action.VIEW" />
<data android:scheme="https" />
</intent>
<intent>
<action android:name="android.intent.action.DIAL" />
<data android:scheme="tel" />
</intent>
<!-- If your app sends emails -->
<intent>
<action android:name="android.intent.action.SEND" />
<data android:mimeType="*/*" />
</intent>
</queries>

<application
android:label="StudyU"
Expand Down
4 changes: 2 additions & 2 deletions app/pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -685,14 +685,14 @@ packages:
path: "../core"
relative: true
source: path
version: "3.7.6"
version: "3.7.7"
studyu_flutter_common:
dependency: "direct main"
description:
path: "../flutter_common"
relative: true
source: path
version: "1.3.10"
version: "1.3.11"
supabase:
dependency: "direct main"
description:
Expand Down
6 changes: 6 additions & 0 deletions designer/android/app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@
package="health.studyu.designer">

<uses-permission android:name="android.permission.INTERNET"/>
<queries>
<intent>
<action android:name="android.intent.action.VIEW" />
<data android:scheme="https" />
</intent>
</queries>

<application
android:label="StudyU Designer"
Expand Down
4 changes: 2 additions & 2 deletions designer/pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -655,14 +655,14 @@ packages:
path: "../core"
relative: true
source: path
version: "3.7.6"
version: "3.7.7"
studyu_flutter_common:
dependency: "direct main"
description:
path: "../flutter_common"
relative: true
source: path
version: "1.3.10"
version: "1.3.11"
supabase:
dependency: "direct main"
description:
Expand Down
2 changes: 1 addition & 1 deletion flutter_common/pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -386,7 +386,7 @@ packages:
path: "../core"
relative: true
source: path
version: "3.7.6"
version: "3.7.7"
supabase:
dependency: transitive
description:
Expand Down
2 changes: 1 addition & 1 deletion notebook_uploader/pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ packages:
path: "../core"
relative: true
source: path
version: "3.7.6"
version: "3.7.7"
supabase:
dependency: "direct main"
description:
Expand Down
2 changes: 1 addition & 1 deletion repo_generator/pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,7 @@ packages:
path: "../core"
relative: true
source: path
version: "3.7.6"
version: "3.7.7"
supabase:
dependency: "direct main"
description:
Expand Down

0 comments on commit 9aef658

Please sign in to comment.