I have a strange thing while using the following:
When I make a timy app with only this code the PackageManager detect Whatsapp on my phone. This is good.
When I us the same code in one of my bigger apps the PackageManager DON'T detect Whatsapp on my (the same) phone.
What is happening here? Does someone has the answer?
B4X:
Dim Intent2 As Intent
Dim pm As PackageManager
Intent2 = pm.GetApplicationIntent("com.whatsapp")
If Intent2.IsInitialized Then
ToastMessageShow("WhatsApp Installed",True)
Else
ToastMessageShow("WhatsApp NOT Installed",True)
End If
When I make a timy app with only this code the PackageManager detect Whatsapp on my phone. This is good.
When I us the same code in one of my bigger apps the PackageManager DON'T detect Whatsapp on my (the same) phone.
What is happening here? Does someone has the answer?