whatsapp

how to achieve whats app (iOS version) notification handling after killing whatsapp by swipe up

假装没事ソ 提交于 2019-12-09 16:40:56
问题 Till now after searching what i know is, in iOS , notifications cannot be handled, once the app is killed , and after that app is launched by tapping app icon. i want to achieve what whatsapp does, i.e. 1) i kill whatsapp from multitasking swipe up. 2) i receive whatsapp 1 new message push notification. 3) then without launching whatsapp(through app icon or through notification) i disconnect mobile data/ wifi or any internet connection. 4) after disconnecting all connections, i launch

Whatsapp link on products?

柔情痞子 提交于 2019-12-09 09:16:17
问题 For the iPhone Apps, is it possible to have a Whatsapp link on products? Once link it would send a message to my mobile number through whatsapp. Please advice. 回答1: You do it either of the method as tafh suggested which is custom method or as an iOS app developer I would suggest you to go with document interaction controller, initialize a UIDocumentInteractionController. These both with help you manage interactions. Check the link below for more information. (UIDocumentInteractionController *

How Can I share image +text caption(URL) on whatsapp from iphone?

血红的双手。 提交于 2019-12-09 08:54:13
问题 I have used following code for share image on WhatsApp but I am unable to set the caption text using following code. I have tried annotation property of UIDocumentInteractionController ,But in WhatsApp developer form there is not any key is specified for annotation. I do know that we can do it by using UIImageGraphicContext , But I need to share URL as caption if ([[UIApplication sharedApplication] canOpenURL: [NSURL URLWithString:@"whatsapp://app"]]) { NSString * savePath = [NSHomeDirectory(

Callkit loudspeaker bug / how WhatsApp fixed it?

可紊 提交于 2019-12-09 04:38:51
问题 I have an app with Callkit functionality. When I press the loudspeaker button, it will flash and animate to the OFF state (sometimes the speaker is set to LOUD but the icon is still OFF). When I tap on it multiple times... it can be clearly seen that this functionality is not behaving correctly. However, WhatsApp has at the beginning the loudspeaker turned OFF and after 3+ seconds it activates it and its working. Has anyone encountered anything similar and can give me a solution? Youtube

How can WhatsApp encrypt Push Notifications on iOS? [closed]

生来就可爱ヽ(ⅴ<●) 提交于 2019-12-09 00:20:52
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 3 years ago . Recently WhatsApp integrated the Signal protocol for End-to-End Encryption for all platforms. I tried it with a friend and it said that the encryption was activated. With the app closed and background tasks disabled on iOS 8, the push notifications from my friend still showed the message. Question: Does WhatsApp

Sending message through WhatsApp

余生颓废 提交于 2019-12-08 16:25:12
问题 Since I found some older posts, that tell that whatsapp doesn't support this, I was wondering if something had changed and if there is a way to open a whatsapp 'chat' with a number that I'm sending through an intent? 回答1: UPDATE Please refer to https://faq.whatsapp.com/en/android/26000030/?category=5245251 WhatsApp's Click to Chat feature allows you to begin a chat with someone without having their phone number saved in your phone's address book. As long as you know this person’s phone number

How to schedule a message in our application to WhatsApp?

本小妞迷上赌 提交于 2019-12-08 14:00:12
问题 I would like to send, schedule text messages in WhatsApp from my application. Is it possible to do that? Currently, I can open WhatsApp using this code Intent i=getpackageManager().getLaunchIntentForPackage("com.whatsapp"); startActivity(i); However, is it possible to schedule a message from our application to WhatsApp? 回答1: You can use the AlarmManager for schedule any task for the future.. In your Activity/Fragment use this lines of code for schedule any task:- Intent myIntent = new Intent

Share PDF through WhatsApp

↘锁芯ラ 提交于 2019-12-08 13:24:30
I want to share a PDF directly to WhatsApp. Below is the link I found to send text and image in WhatsApp in an iOS app, but unable to find that how to send PDF directly to WhatsApp. Share image/text through WhatsApp in an iOS app You can use Share Extension (UIActivityViewController) to share your pdf fileURL. Note that the user will have to select the WhatsApp application to share the file. Note is is required to edit your info.plist and add whatsapp to your LSApplicationQueriesSchemes array if you would like to check first if WhatsApp is installed: func sharePdfWhatsApp(url: URL) { let

What is the identity field value generated in WhatsApp Android/iOS clients?

谁都会走 提交于 2019-12-08 12:13:15
问题 Can anyone of you let me know what is the identity field value generated in WhatsApp Android and/or iOS clients? For example $w = new WhatsProt($username, $identity, "test", true); If it is a unique random number generated by the WhatsApp client on the device, where exactly it will be stored (in which file and path)? Will that file not be wiped off once I uninstall the application? The reason I asked the above is that I feel that there might be some device identifier used by WhatsApp client

Sending message to specific Number(Whatsapp)

℡╲_俬逩灬. 提交于 2019-12-08 09:35:02
问题 I've tried this it seems to be working for everyone but not for me. If you want to extra information inform me and i'll add it. My Code: import android.net.Uri; import android.os.Bundle; import android.provider.Contacts; import android.app.Activity; import android.content.ComponentName; import android.content.Intent; import android.database.Cursor; import android.view.Menu; import android.view.View; import android.view.View.OnClickListener; import android.widget.Button; import com