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

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
Cookies are required to use this site. You must accept them to continue using the site. Learn more…