![](/img/trans.png)
[英]Prevent Android 13 from showing the notification permission prompt
Android 13 自動詢問用戶是否允許該應用向他們發送通知。 我的應用程序不顯示任何通知,因此此時向用戶詢問推送通知沒有任何意義。 我想將此提示推遲到我們實際收到通知和定義明確的權限 UX 時。 你如何告訴 Android 13不自動請求權限? ...
[英]Prevent Android 13 from showing the notification permission prompt
Android 13 自動詢問用戶是否允許該應用向他們發送通知。 我的應用程序不顯示任何通知,因此此時向用戶詢問推送通知沒有任何意義。 我想將此提示推遲到我們實際收到通知和定義明確的權限 UX 時。 你如何告訴 Android 13不自動請求權限? ...
[英]React Native OneSignal: User not prompted for consent on Android
在我的 React Native 應用程序中,我想提示用戶同意接收 OneSignal 推送通知。 我有代碼OneSignal.promptForPushNotificationsWithUserResponse() ,它在 iOS 上成功提示用戶,但在 Android 上卻沒有。 當我在我的 An ...
[英]Flutter: Android notification icon displays white
我正在使用flutter_launcher_icons package 為應用程序生成啟動器圖標。 一切都按預期工作,為 Android 和 iOS 生成和設置啟動器。 但是,在Android 推送通知中,啟動器顯示為白色方塊,即使圖標是黑色的。 我嘗試將圖標作為元數據添加到清單文件中,並將通知生成 ...
[英]React Native - Android Handle click on notification to navigate to specific screen
我使用這個庫https://github.com/zo0r/react-native-push-notification進行遠程推送通知,onNotification 方法僅在收到通知時觸發,沒有點擊通知時,我需要處理通知單擊以打開特定屏幕我的應用程序。 ...
[英]Android Notifications - Popup but with no Sound
我們正在向我們的 Android 應用程序發送推送通知。 我們希望它們默認顯示為“彈出窗口”。 我能夠讓它工作的唯一方法是針對具有高重要性的特定通知通道。當我們這樣做時,我們確實會得到一個可見的通知彈出窗口。 設置重要性的問題在於,默認情況下我們也會播放聲音。 是讓彈出窗口使用高重要性頻道的唯一方法 ...
[英]How to open activity page in fragment, when pressed a notification in android
我有 PushNotificationService 和我的方法 onMessageReceived。 如果我在程序中,則會從上方發出通知並將我定向到我想要的頁面。 但是,當程序關閉時,當我在后台點擊通知時,它並沒有到我想要的頁面,它只到主頁。 當我點擊通知時,我想打開活動。 我能怎么做? 還有我的 ...
[英]navigatorState is null when using pushNamed Navigation onGenerateRoutes of GetMaterialPage
我正在使用flutter_callkit_incoming包在我的應用程序的所有狀態(即背景/前景/終止狀態)中通過 FCM 的有效負載在我的應用程序中獲取調用通知。 在我的應用程序處於前台狀態的呼叫傳入通知上單擊接受按鈕后,現在可以導航到 VideoCallingAgoraPage。 -> ...
[英]React Native Push notification In Chat Application
目前,我正在使用 react native amplify 構建一個聊天應用程序,當兩個用戶都在線並且在同一個屏幕上時它工作正常(具體來說是堆棧屏幕),我能夠向用戶顯示新消息的推送通知使用 react-native-push-notification package (本地推送通知)。 我想為在后台 ...
[英]the notification icon is white in android but works fine in iOS
I have been using Unity and firebase messaging for push notification it is working fine with iOS but for android the certain phones are having white ...
[英]Firebase flutter push notification not working on android
我已經注冊了我的應用程序,將 google-services.json 文件添加到我的應用程序文件夾中。 我添加了必需的 depndcies 等。當我從 firebase 控制台發送通知時,我仍然做了所有事情,無論我的應用程序是最小化還是前台,我都沒有收到。 我什至沒有在我的調試控制台中看到任何東 ...
[英]React Native Push Notifications not working in Android but works fine on iOS
我最近在我的 React Native 應用程序中設置了推送通知,它在 iOs 中運行良好,但在 Android 中無法彈出。 這是我正在調用以觸發通知的 function。 這是我在上面配置推送通知的地方 正如我所說,它在 iOS 上運行良好,當我刪除 channelId(我知道這是 andro ...
[英]How to get the delivery status of notification from fcm in springboot?
下面是我在 spring 啟動時的代碼。 在這里我如何檢查通知發送到設備的狀態。 有人可以幫我解決這個問題嗎? ...
[英]FCM push notification without payload to Android device
我有一個部署為 PWA 的 angular 應用程序、iOS 和 Android 應用程序(電容器)。 此應用程序依賴 Firebase 雲消息推送通知: 在 android 中,我使用 FCM 控制台對此進行了測試,正如您從這個console.log中看到的那樣 在pushNotification ...
[英]How to display a calling screen on the arrival of push notification in a communication app (Flutter android)
我正在開發一個類似於 WhatsApp 的顫振應用程序。 但是我遇到了一個我無法找到解決方案的問題。 我已將 Firebase 后台消息處理程序鏈接到我的應用程序,以便在推送通知到達后立即以終止狀態啟動屏幕。 但是,到目前為止,簡而言之,我無法打開通知到達的頁面。 因為以下鏈接https://fir ...
[英]Where to find log files for failed push notification?
當我嘗試創建推送通知並將其發送到我的 Android 電視時,我在電視上收到以下 toast 消息: package * 的開發人員警告。 無法在頻道“默認”上發布通知。 有關更多詳細信息,請參閱日志。 這些日志文件保存在哪里? ...
[英]How to send notification from one android application to other android application?
我創建了兩個不同的 android 應用程序,一個用於管理面板,它本身只有一個用戶,另一個將安裝在其他 android 設備上。 當管理員在他的應用程序中添加通知時,所有用戶都會收到通知。 我應該怎么辦? 如何實施? ...
[英]AWS SNS Adding Android Platform Endpoints Automatically
我所需要的只是一種向 android 應用程序上的所有用戶發送推送通知的方法,我認為這並不難,但我們到了。 所以我設置了 firebase 端,並在 AWS SNS 上創建了平台應用程序並手動添加了令牌以測試通知是否發送,所有這些都成功。 我現在需要一種將令牌自動添加到平台應用程序的方法 - 例如, ...
[英]1 hour gap in push notifications android
我想在推送通知中設置 1 小時的間隔,比如當用戶收到一個通知時,我想將時間存儲在 Shared Preferences 中,當下一個通知到來時,我想檢查兩個通知中的間隔是否等於或大於1 小時后,我將向用戶顯示通知,否則不會向用戶顯示通知。 所以問題是我如何計算1小時的時間差。 請幫我。 提前致謝。 ...
[英]How to access the Push Notification counter on Android (TV)?
我想訪問當前可用推送通知的數量如下: ,這里是 Android 電視仿真器圖像.. 那么我怎樣才能讀到那個數字呢? 編輯:我不想設置任何東西。 ...
[英]Exception occurred while executing exported method getDevicePushTokenAsync on module ExpoPushTokenManager
我升級了我的 expo 推送通知,每當我在 Android 上運行它時,我都會收到以下錯誤: 在模塊 ExpoPushTokenManager 上執行導出的方法 getDevicePushTokenAsync 時發生異常。 請設置您的項目 ID。 與 Firebase 服務器 API 通信需要有效的 ...