surun
(surun)
April 14, 2021, 1:30pm
1
Hello I want to open third party URLs into an external browser (chrome)
The expected flow is -
On a website - we have integrated whatsapp chat icon - when clicked on it - it opens following URL β this URL automatically further opens the whatsapp app with pre-defined message content
https://api.whatsapp.com/send?phone=+911234&text=Hi%2C+I+am+interested+in+this+product%2C+please+send+me+more+details+-+Beautiful+Long++Gown+Dark+Blue++https%3A%2F%2Fwww.xyz.com%2Fkurtis-dresses%2Fanarkali-kurtis%2Fanarkali-gown%2Fbeautiful-long-gown-dark-blue-l+
As of now my blocks are as per below - it is able to open the link but its not opening in external browser
vknow360
(Sunny Gupta)
April 14, 2021, 1:33pm
2
But why you want to open that link in external browser?
You should use an ActivityStarter.
Action = android.intent.action.VIEW
Data Uri = link
1 Like
Enderman
(Shreyansh)
April 14, 2021, 2:49pm
4
Yes Use Activity Statler not CustomWebview
surun
(surun)
April 15, 2021, 7:42am
6
This is my complete block
I tried many combinations but somehow itβs not helping me
if you open - the website - www.moranifashion.com in phone, and open any product (Women Floral Cotton Aqua Printed Kurta Set With Plazzo : The Morani Fashion Boutique ) - you will see the WhatsApp enquery button - when clicked its passing pre-defined message along with phone number directly inside whatsapp
but this same is not happening on the app using the blocks below
kept last few blocks as it is for reference
vknow360
(Sunny Gupta)
April 15, 2021, 11:15am
7
I have a question.
Are you using latest version?
Also you have not configured OnNewWindowRequest blocks correctly.
surun
(surun)
April 15, 2021, 1:52pm
8
Yes I am using version 10.1
Also, it will be really helpful if you can share the sample blocks, it may help others as well
at bottom, i have given other blocks also which i tried, but that also didnβt help to get exact redirection as expected
vknow360
(Sunny Gupta)
April 15, 2021, 2:09pm
9
What did you mean with this?
surun
(surun)
April 15, 2021, 2:50pm
10
if you open - the website - www.moranifashion.com in a phone, and open any product (Women Floral Cotton Aqua Printed Kurta Set With Plazzo : The Morani Fashion Boutique ) - you will see the WhatsApp enquery button - when clicked β its passing pre-defined message along with phone number directly inside Whatsapp
but this same is not happening on the app using the blocks below
(it opens whatsapp but not with phone number)
I will suggest to try to once - without trying i guess it will be difficult for me to explain
vknow360
(Sunny Gupta)
April 16, 2021, 2:06pm
11
It works for me without any issues.
surun
(surun)
April 16, 2021, 2:20pm
12
Great, can you please share the blocks
vknow360
(Sunny Gupta)
April 16, 2021, 3:41pm
13
There is nothing special in the blocks.
I have just enabled DeepLinks property and visited a sample page.
surun
(surun)
April 17, 2021, 2:31pm
14
Hello,
actually in my blocks i have enabled the Deeplinks as well, also enabled the Deeplink at Designer window as well
I request to please share the correct blocks for OnNewWindowRequest
vknow360
(Sunny Gupta)
April 18, 2021, 1:22am
15
So your issue is that whatsapp is opening but not with specified number.
And you were saying all the time that extension is not working.
I shall take a look.
vknow360
(Sunny Gupta)
April 21, 2021, 10:14am
17
You can try beta version:
surun
(surun)
April 23, 2021, 11:27am
18
Hello Sunny
Thank you for your help, but somehow still my blocks are not working
when i click on whatsapp button - new page opens but suddenly my app crashes and it closes everything -
PFA my blocks
surun
(surun)
April 23, 2021, 12:56pm
20
Morani_March.apk (6.3 MB)
Posted my APK