問題タブ [google-location-services]
For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.
android - Play Services の再起動後に位置情報の更新がどうなるか
ロケーションデータを処理するために FusedLocationApi によって毎分呼び出される IntentService があります。
Play Services が更新またはクラッシュから復元された場合、IntentService は上記の間隔で引き続き呼び出されますか? それとも再登録が必要ですか?
私の観察によると、クラッシュから復元した後の Nexus 6P では、再生サービスは引き続き IntentService を呼び出しますが、Huawei Honor Bee では呼び出しません。
私の本番アプリでは、Firebase Events のおかげで、デバイスのメモリが不足した後 (onTrimMemory() が呼び出された後)、IntentService が呼び出されなくなったことを確認しました。