My app. is deployed in Play Store as well as Baidu Store. For notificatiions, need to differentiate from where app. is installed.
When I used getInstallerPackageName() method, Redmi Note 3 returns correct value but HTC returns null.
Why is this difference observed ?
Is there any other better way ?