Skip to content
This repository has been archived by the owner on Mar 21, 2024. It is now read-only.

Commit

Permalink
[Closes #324] Address security CWE-530 in Android build
Browse files Browse the repository at this point in the history
  • Loading branch information
francisli committed Nov 16, 2023
1 parent 181060c commit c89fe0b
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 4 deletions.
2 changes: 1 addition & 1 deletion android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ android {
minSdkVersion rootProject.ext.minSdkVersion
targetSdkVersion rootProject.ext.targetSdkVersion
versionCode 70
versionName "2.2.0"
versionName "2.2.1"
}
splits {
abi {
Expand Down
8 changes: 7 additions & 1 deletion android/app/src/debug/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,11 @@

<uses-permission android:name="android.permission.SYSTEM_ALERT_WINDOW"/>

<application android:usesCleartextTraffic="true" tools:targetApi="28" tools:ignore="GoogleAppIndexingWarning" />
<application
android:allowBackup="false"
android:usesCleartextTraffic="true"
tools:replace="android:allowBackup"
tools:targetApi="28"
tools:ignore="GoogleAppIndexingWarning"
/>
</manifest>
1 change: 1 addition & 0 deletions android/app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@
</service>

<activity
android:allowBackup="false"
android:name=".MainActivity"
android:exported="true"
android:label="@string/app_name"
Expand Down
4 changes: 2 additions & 2 deletions ios/IntentionalWalkApp.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -619,7 +619,7 @@
INFOPLIST_FILE = IntentionalWalkApp/Info.plist;
IPHONEOS_DEPLOYMENT_TARGET = 12.0;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
MARKETING_VERSION = 2.2.0;
MARKETING_VERSION = 2.2.1;
OTHER_LDFLAGS = (
"$(inherited)",
"-ObjC",
Expand Down Expand Up @@ -649,7 +649,7 @@
INFOPLIST_FILE = IntentionalWalkApp/Info.plist;
IPHONEOS_DEPLOYMENT_TARGET = 12.0;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
MARKETING_VERSION = 2.2.0;
MARKETING_VERSION = 2.2.1;
OTHER_LDFLAGS = (
"$(inherited)",
"-ObjC",
Expand Down

0 comments on commit c89fe0b

Please sign in to comment.