Listen for app installed / upgraded broadcast message in Android

前端 未结 4 1389
爱一瞬间的悲伤
爱一瞬间的悲伤 2020-12-06 05:59

Using Lookout app (https://play.google.com/store/apps/details?id=com.lookout), I see every time I install or upgrade app, it\'ll automatically scan this app to ensure it\'s

4条回答
  •  萌比男神i
    2020-12-06 06:46

    Android won't send your a broadcast that you're being installed, but Google Play will. This won't help if your app is loaded through Amazon or through the debugger, but it does allow you to run code if your app is installed through Google Play: https://developers.google.com/android/reference/com/google/android/gms/tagmanager/InstallReferrerReceiver

提交回复
热议问题