Android Question WhatsApp Library don't check if WhatsApp Business is installed

DonManfred

Expert
Licensed User
Longtime User
The packagename of Whatsapp Business is: com.whatsapp.w4b
 
Upvote 0

asales

Expert
Licensed User
Longtime User
The packagename of Whatsapp Business is: com.whatsapp.w4b
Thanks!
I made this function:
B4X:
Sub W4bIsInstalled As Boolean
   Dim ret As Boolean = False
   Dim in As Intent
   Dim pm As PackageManager
   in = pm.GetApplicationIntent("com.whatsapp.w4b")
   If in.IsInitialized Then
       ret = True
   End If
   Return ret
End Sub
 
Upvote 0
Top