theolm / WhatsAppNoContact

Start WhatsApp chats without adding numbers to contacts.
MIT License
111 stars 7 forks source link

Support for WhatsApp Business #24

Closed Seferi closed 3 months ago

Seferi commented 3 months ago

Describe your suggested feature

It would be awesome if you could add WhatsApp Business support for it: https://play.google.com/store/apps/details?id=com.whatsapp.w4b Thanks.

Other details

No response

Acknowledgements

GreenMystic commented 3 months ago

also pls consider supporting work profile if hasn't supported yet 💀

theolm commented 3 months ago

@Seferi WhatsApp Business is already supported in the latest release. It should be available in F-Droid soon (it takes a few days to update in the store). The way it works is simple, open the dialog -> settings (small gear icon) -> select default app -> select WhatsApp business

theolm commented 3 months ago

@GreenMystic What do you mean by profile? Is that a WhatsApp Business feature? I have never used the Business app before. Please create a new issue explaining how you imagine the feature and I will see what I can do to implement it.

GreenMystic commented 3 months ago

@GreenMystic What do you mean by profile? Is that a WhatsApp Business feature? I have never used the Business app before.

no i mean built in android work profile

Please create a new issue explaining how you imagine the feature and I will see what I can do to implement it.

sure if this app didn't support android work profile i will make new issues to keep track of this feature request easily

theolm commented 3 months ago

Nice! I have never used this before, but it looks like a good idea. I'll take a look to see what I need to implement to make the app support it.

Thanks for the great idea.

theolm commented 3 months ago

@GreenMystic I don't think you will be able to use the app in a work profile. You need to be able to sideload the app, and as far as I can tell, this is not possible in your work profile.

If somehow you manage to do it please share it here so I can write it in the docs.

GreenMystic commented 3 months ago

@GreenMystic I don't think you will be able to use the app in a work profile. You need to be able to sideload the app, and as far as I can tell, this is not possible in your work profile.

nah it's possible as long as app support work profile and installing apk alternative method is you can use any app that can use ADB privilege directly to doing work for you

If somehow you manage to do it please share it here so I can write it in the docs.

there is some app that able to doing so: 1. island by oasis feng 2. Insular fork of island without proprietary or unnecessary things

  1. any app that support ADB privilege to installing apk on selected or all user ex: AM
theolm commented 3 months ago

@GreenMystic Nice! I want to make this work. Thanks for the info. I created a new ticket #28, please follow the issue there.

Seferi commented 2 months ago

@Seferi WhatsApp Business is already supported in the latest release. It should be available in F-Droid soon (it takes a few days to update in the store). The way it works is simple, open the dialog -> settings (small gear icon) -> select default app -> select WhatsApp business

Doesn't work for some reason. When I hit the app icon, all I see is this dialog in the picture:

Screenshot_20240714-103225

@theolm As far as I can see in the code, whatsApp installation is checked only, checkIfWpBusinessIsInstalled is not used which might be the issue.

theolm commented 2 months ago

Good call. I totally forget about this initial check.

I will push an update today. It will take a few days to be available in fdroid

As a workaround you can install the normal whatapp so you can bypass this dialog and reach the configuration menu where you can select Whatsapp business.