Skip to content

Commit

Permalink
fix: android notification icon (#6538)
Browse files Browse the repository at this point in the history
* fix: android notification icon

* chore: change notification icon

---------

Co-authored-by: ByteZhang <[email protected]>
  • Loading branch information
sidmorizon and ByteZhang1024 authored Jan 19, 2025
1 parent 9686f1b commit 3d297a7
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
1 change: 1 addition & 0 deletions apps/mobile/android/app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@
<meta-data android:name="expo.modules.updates.EXPO_SDK_VERSION" android:value="49.0.0"/>
<meta-data android:name="expo.modules.updates.EXPO_UPDATES_CHECK_ON_LAUNCH" android:value="ALWAYS"/>
<meta-data android:name="expo.modules.updates.EXPO_UPDATES_LAUNCH_WAIT_MS" android:value="0"/>
<meta-data android:name="expo.modules.notifications.default_notification_icon" android:resource="@drawable/notification_icon"/>
<activity android:name=".MainActivity" android:label="@string/app_name" android:configChanges="keyboard|keyboardHidden|orientation|screenSize|uiMode" android:launchMode="singleTask" android:windowSoftInputMode="stateAlwaysHidden|adjustPan" android:theme="@style/Theme.App.SplashScreen" android:exported="true" android:screenOrientation="portrait" android:supportsPictureInPicture="true">
<intent-filter>
<action android:name="android.intent.action.MAIN"/>
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<?xml version="1.0" encoding="utf-8"?>
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="24dp"
android:height="24dp"
android:viewportWidth="680"
android:viewportHeight="680">

<path
android:fillColor="#ffffff"
android:fillType="evenOdd"
android:pathData="M244.26,35.14H386.7V277.7H298.39V113.22H219.27L244.26,35.14ZM340.44,644.64C430.15,644.64 502.88,569.48 502.88,476.77C502.88,384.06 430.15,308.9 340.44,308.9C250.73,308.9 178,384.06 178,476.77C178,569.48 250.73,644.64 340.44,644.64ZM340.44,568.43C389.42,568.43 429.14,527.39 429.14,476.77C429.14,426.15 389.42,385.11 340.44,385.11C291.45,385.11 251.74,426.15 251.74,476.77C251.74,527.39 291.45,568.43 340.44,568.43Z" />

</vector>

0 comments on commit 3d297a7

Please sign in to comment.