Skip to content

Commit

Permalink
feat: stealth mode (#2143)
Browse files Browse the repository at this point in the history
  • Loading branch information
pwltr authored Aug 19, 2024
1 parent c1d1760 commit afd07c5
Show file tree
Hide file tree
Showing 112 changed files with 1,206 additions and 215 deletions.
32 changes: 26 additions & 6 deletions android/app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@
<application
android:name=".MainApplication"
android:label="@string/app_name"
android:icon="@mipmap/ic_launcher_orange"
android:roundIcon="@mipmap/ic_launcher_orange_round"
android:icon="@mipmap/ic_launcher_default"
android:roundIcon="@mipmap/ic_launcher_default_round"
android:allowBackup="false"
android:usesCleartextTraffic="true"
android:theme="@style/AppTheme"
Expand All @@ -41,10 +41,6 @@
android:windowSoftInputMode="adjustPan"
android:exported="true"
android:theme="@style/SplashTheme">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>

<!-- Universal Links -->
<intent-filter android:autoVerify="true">
Expand Down Expand Up @@ -96,6 +92,30 @@
</intent-filter>
</activity>
<activity android:name="com.facebook.react.devsupport.DevSettingsActivity" />

<!-- App Icons -->
<activity-alias
android:name=".MainActivityDefault"
android:enabled="true"
android:exported="true"
android:icon="@mipmap/ic_launcher_default"
android:targetActivity=".MainActivity">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity-alias>
<activity-alias
android:name=".MainActivityCalculator"
android:enabled="false"
android:exported="true"
android:icon="@mipmap/ic_launcher_calculator"
android:targetActivity=".MainActivity">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity-alias>
</application>

<queries>
Expand Down
Binary file removed android/app/src/main/ic_launcher_black-playstore.png
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="256dp"
android:height="256dp"
android:viewportWidth="256"
android:viewportHeight="256"
android:scaleX="0.4"
android:scaleY="0.4">
<group android:scaleX="0.5"
android:scaleY="0.5"
android:translateX="63"
android:translateY="63">
<group>
<clip-path
android:pathData="M44,36L108,36A8,8 0,0 1,116 44L116,108A8,8 0,0 1,108 116L44,116A8,8 0,0 1,36 108L36,44A8,8 0,0 1,44 36z"/>
<path
android:pathData="M44,36C39.58,36 36,39.58 36,44V108C36,112.42 39.58,116 44,116H108C112.42,116 116,112.42 116,108V44C116,39.58 112.42,36 108,36H44ZM80,60H72V72H60V80H72V92H80V80H92V72H80V60Z"
android:fillColor="#ffffff"
android:fillType="evenOdd"/>
</group>
<path
android:pathData="M148,36C143.58,36 140,39.58 140,44V108C140,112.42 143.58,116 148,116H212C216.42,116 220,112.42 220,108V44C220,39.58 216.42,36 212,36H148ZM196,80V72H164V80H196Z"
android:fillColor="#ffffff"
android:fillType="evenOdd"/>
<group>
<clip-path
android:pathData="M44,140L108,140A8,8 0,0 1,116 148L116,212A8,8 0,0 1,108 220L44,220A8,8 0,0 1,36 212L36,148A8,8 0,0 1,44 140z"/>
<path
android:pathData="M44,140C39.58,140 36,143.58 36,148V212C36,216.42 39.58,220 44,220H108C112.42,220 116,216.42 116,212V148C116,143.58 112.42,140 108,140H44ZM90.14,171.51L84.48,165.86L76,174.34L67.51,165.86L61.86,171.51L70.34,180L61.86,188.49L67.51,194.14L76,185.66L84.48,194.14L90.14,188.49L81.66,180L90.14,171.51Z"
android:fillColor="#ffffff"
android:fillType="evenOdd"/>
</group>
<group>
<clip-path
android:pathData="M148,140L212,140A8,8 0,0 1,220 148L220,212A8,8 0,0 1,212 220L148,220A8,8 0,0 1,140 212L140,148A8,8 0,0 1,148 140z"/>
<path
android:pathData="M148,140C143.58,140 140,143.58 140,148V212C140,216.42 143.58,220 148,220H212C216.42,220 220,216.42 220,212V148C220,143.58 216.42,140 212,140H148ZM196,178V170L164,170V178H196ZM196,190V182H164V190H196Z"
android:fillColor="#ffffff"
android:fillType="evenOdd"/>
</group>
</group>
</vector>

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
<background android:drawable="@color/black"/>
<foreground android:drawable="@mipmap/ic_launcher_calculator_foreground"/>
<monochrome android:drawable="@drawable/ic_launcher_calculator_monochrome" />
</adaptive-icon>
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
<background android:drawable="@color/black"/>
<foreground android:drawable="@mipmap/ic_launcher_calculator_foreground"/>
<monochrome android:drawable="@drawable/ic_launcher_calculator_monochrome" />
</adaptive-icon>
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
25 changes: 25 additions & 0 deletions ios/Podfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1007,6 +1007,27 @@ PODS:
- ReactCommon/turbomodule/bridging
- ReactCommon/turbomodule/core
- Yoga
- react-native-change-icon (5.0.0):
- DoubleConversion
- glog
- hermes-engine
- RCT-Folly (= 2024.01.01.00)
- RCTRequired
- RCTTypeSafety
- React-Codegen
- React-Core
- React-debug
- React-Fabric
- React-featureflags
- React-graphics
- React-ImageManager
- React-NativeModulesApple
- React-RCTFabric
- React-rendererdebug
- React-utils
- ReactCommon/turbomodule/bridging
- ReactCommon/turbomodule/core
- Yoga
- react-native-image-picker (7.1.2):
- DoubleConversion
- glog
Expand Down Expand Up @@ -1528,6 +1549,7 @@ DEPENDENCIES:
- react-native-address-generator (from `../node_modules/react-native-address-generator`)
- react-native-biometrics (from `../node_modules/react-native-biometrics`)
- "react-native-blur (from `../node_modules/@react-native-community/blur`)"
- react-native-change-icon (from `../node_modules/react-native-change-icon`)
- react-native-image-picker (from `../node_modules/react-native-image-picker`)
- "react-native-ldk (from `../node_modules/@synonymdev/react-native-ldk`)"
- react-native-mmkv (from `../node_modules/react-native-mmkv`)
Expand Down Expand Up @@ -1664,6 +1686,8 @@ EXTERNAL SOURCES:
:path: "../node_modules/react-native-biometrics"
react-native-blur:
:path: "../node_modules/@react-native-community/blur"
react-native-change-icon:
:path: "../node_modules/react-native-change-icon"
react-native-image-picker:
:path: "../node_modules/react-native-image-picker"
react-native-ldk:
Expand Down Expand Up @@ -1813,6 +1837,7 @@ SPEC CHECKSUMS:
react-native-address-generator: 7034f33d6e63c1c5e123b3c8a3c97f4fe4aa2d93
react-native-biometrics: 352e5a794bfffc46a0c86725ea7dc62deb085bdc
react-native-blur: a2acf22fd7bd13621df5e0b1c130b81adea7009c
react-native-change-icon: a7cfe810b8d7cc159cb32903bde8ae17a598df5c
react-native-image-picker: c3afe5472ef870d98a4b28415fc0b928161ee5f7
react-native-ldk: fda4d4381d40401bdc5c3a9965937d19b232ed08
react-native-mmkv: 8c9a677e64a1ac89b0c6cf240feea528318b3074
Expand Down
Loading

0 comments on commit afd07c5

Please sign in to comment.