BlueWallet/android/app/src/main/AndroidManifest.xml

173 lines
8 KiB
XML
Raw Normal View History

<manifest xmlns:android="http://schemas.android.com/apk/res/android"
2023-12-11 19:45:05 -04:00
xmlns:tools="http://schemas.android.com/tools"
android:installLocation="auto">
<uses-feature
android:name="android.hardware.camera"
android:required="false" />
<uses-permission android:name="android.permission.INTERNET" />
2024-05-15 15:53:08 -04:00
<uses-permission android:name="android.permission.SYSTEM_ALERT_WINDOW" />
<uses-permission android:name="android.permission.CAMERA" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
2024-03-23 12:38:16 -04:00
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.READ_MEDIA_IMAGES" />
2020-09-09 00:21:19 -04:00
<uses-permission android:name="android.permission.USE_BIOMETRIC" />
<uses-permission android:name="android.permission.USE_FINGERPRINT" />
2024-05-15 15:53:08 -04:00
<uses-permission android:name="android.permission.POST_NOTIFICATIONS" />
2024-01-08 16:34:02 -04:00
<uses-permission android:name="android.permission.VIBRATE" />
2024-10-03 19:56:09 -04:00
<application
2024-05-15 15:53:08 -04:00
android:name=".MainApplication"
android:label="@string/app_name"
android:icon="@mipmap/ic_launcher"
android:roundIcon="@mipmap/ic_launcher_round"
android:allowBackup="false"
android:largeHeap="true"
android:extractNativeLibs="true"
android:usesCleartextTraffic="true"
android:supportsRtl="true"
android:theme="@style/AppTheme"
android:networkSecurityConfig="@xml/network_security_config">
2020-07-18 20:33:43 +01:00
2024-05-15 15:53:08 -04:00
<meta-data
android:name="com.dieam.reactnativepushnotification.notification_channel_name"
android:value="BlueWallet notifications" />
<meta-data
android:name="com.dieam.reactnativepushnotification.notification_channel_description"
android:value="Notifications about incoming payments" />
<meta-data
android:name="com.dieam.reactnativepushnotification.notification_foreground"
android:value="true" />
<meta-data
android:name="com.dieam.reactnativepushnotification.channel_create_default"
android:value="true" />
<meta-data
android:name="com.dieam.reactnativepushnotification.notification_color"
android:resource="@color/white" />
2024-10-03 19:56:09 -04:00
<meta-data
android:name="firebase_messaging_auto_init_enabled"
android:value="false" />
<meta-data
android:name="firebase_analytics_collection_enabled"
android:value="false" />
<provider
android:name="androidx.core.content.FileProvider"
android:authorities="${applicationId}.provider"
android:exported="false"
android:grantUriPermissions="true">
<meta-data
android:name="android.support.FILE_PROVIDER_PATHS"
android:resource="@xml/file_paths" />
</provider>
2020-07-18 20:33:43 +01:00
<receiver android:name="com.dieam.reactnativepushnotification.modules.RNPushNotificationActions" />
<receiver android:name="com.dieam.reactnativepushnotification.modules.RNPushNotificationPublisher" />
2024-05-15 15:53:08 -04:00
<receiver
android:name="com.dieam.reactnativepushnotification.modules.RNPushNotificationBootEventReceiver"
2022-11-23 13:13:21 +00:00
android:exported="true">
2020-07-18 20:33:43 +01:00
<intent-filter>
<action android:name="android.intent.action.BOOT_COMPLETED" />
</intent-filter>
</receiver>
2024-06-29 17:42:14 -04:00
2024-07-07 15:45:15 -04:00
<receiver android:name=".BitcoinPriceWidget" android:exported="true">
<intent-filter>
<action android:name="android.appwidget.action.APPWIDGET_UPDATE"/>
<action android:name="android.intent.action.SCREEN_ON"/>
<action android:name="android.intent.action.SCREEN_OFF"/>
</intent-filter>
<meta-data
android:name="android.appwidget.provider"
android:resource="@xml/bitcoin_price_widget_info"/>
</receiver>
2020-07-18 20:33:43 +01:00
<service
2024-05-15 15:53:08 -04:00
android:name="com.dieam.reactnativepushnotification.modules.RNPushNotificationListenerService"
android:exported="false">
2020-07-18 20:33:43 +01:00
<intent-filter>
<action android:name="com.google.firebase.MESSAGING_EVENT" />
</intent-filter>
</service>
2023-12-11 19:45:05 -04:00
2024-05-15 15:53:08 -04:00
<activity
android:name=".MainActivity"
android:label="@string/app_name"
android:launchMode="singleTop"
android:configChanges="keyboard|keyboardHidden|orientation|screenSize|uiMode"
android:windowSoftInputMode="adjustResize"
android:exported="true">
2024-10-03 20:00:30 -04:00
<!-- Main launcher intent filter -->
2024-05-15 15:53:08 -04:00
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
2024-10-03 19:56:09 -04:00
<!-- Intent filter for opening the app only when .psbt files are selected -->
2024-05-15 15:53:08 -04:00
<intent-filter>
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.DEFAULT" />
2024-10-03 19:56:09 -04:00
<data android:scheme="file" android:mimeType="application/octet-stream" android:pathPattern=".*\\.psbt" />
2024-05-15 15:53:08 -04:00
</intent-filter>
2024-10-23 00:46:33 -04:00
<intent-filter>
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.DEFAULT" />
<data android:scheme="file" android:mimeType="image/jpeg" />
<data android:scheme="file" android:mimeType="image/png" />
<data android:scheme="file" android:mimeType="image/jpg" />
</intent-filter>
2024-10-03 20:00:30 -04:00
<!-- Intent filter for other custom schemes (bitcoin, bluewallet, etc.) -->
<intent-filter tools:ignore="AppLinkUrlError">
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.DEFAULT" />
<data android:scheme="bitcoin" />
<data android:scheme="lightning" />
<data android:scheme="bluewallet" />
<data android:scheme="lapp" />
<data android:scheme="blue" />
<data android:scheme="http" />
<data android:scheme="https" />
</intent-filter>
2024-10-03 19:56:09 -04:00
<!-- Intent filter for importing other file types (but not launching the app) -->
2024-05-15 15:53:08 -04:00
<intent-filter tools:ignore="AppLinkUrlError">
2024-10-03 19:56:09 -04:00
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.DEFAULT" />
<data android:scheme="file" android:mimeType="application/octet-stream" android:pathPattern=".*\\.*" />
</intent-filter>
2024-10-03 20:00:30 -04:00
<!-- Intent filter for handling PSBT files -->
2024-10-03 19:56:09 -04:00
<intent-filter>
2024-05-15 15:53:08 -04:00
<action android:name="android.intent.action.VIEW" />
<action android:name="android.intent.action.EDIT" />
<category android:name="android.intent.category.DEFAULT" />
<data
android:mimeType="application/octet-stream"
android:pathPattern=".*\\.psbt" />
</intent-filter>
2024-10-03 19:56:09 -04:00
<intent-filter>
2024-05-15 15:53:08 -04:00
<action android:name="android.intent.action.VIEW" />
<action android:name="android.intent.action.EDIT" />
<category android:name="android.intent.category.DEFAULT" />
<data
android:mimeType="text/plain"
android:pathPattern=".*\\.psbt" />
</intent-filter>
</activity>
2021-08-20 17:26:46 +01:00
2024-05-15 15:53:08 -04:00
<meta-data android:name="com.bugsnag.android.API_KEY" android:value="17ba9059f676f1cc4f45d98182388b01" />
</application>
<queries>
<intent>
<action android:name="android.intent.action.VIEW" />
2024-05-15 15:53:08 -04:00
<data android:scheme="https" />
</intent>
<intent>
<action android:name="android.intent.action.VIEW" />
2024-05-15 15:53:08 -04:00
<data android:scheme="http" />
</intent>
</queries>
2024-10-03 19:56:09 -04:00
</manifest>