• Plans & Pricing
  • Log in
  • Get started
  • WordPress Hosting
  • WordPress for Agencies
  • Become an Affiliate
  • Domain Names
  • AI Website Builder
  • Website Builder
  • Create a Blog
  • Newsletter
  • Professional Email
  • Website Design Services
  • Commerce
  • WordPress Studio 
  • Enterprise WordPress 
  • Overview
  • WordPress Themes
  • WordPress Plugins
  • WordPress Patterns
  • WordPress AI Features
  • Google Apps
  • Support Center
  • WordPress News
  • Business Name Generator
  • Logo Maker
  • Discover New Posts
  • Popular Tags
  • Blog Search
Get started
  • Sign up
  • Log in
About
  • Plans & Pricing
Products
  • WordPress Hosting
  • WordPress for Agencies
  • Become an Affiliate
  • Domain Names
  • AI Website Builder
  • Website Builder
  • Create a Blog
  • Newsletter
  • Professional Email
  • Website Design Services
  • Commerce
  • WordPress Studio  
  • Enterprise WordPress  
Features
  • Overview
  • WordPress Themes
  • WordPress Plugins
  • WordPress Patterns
  • WordPress AI Features
  • Google Apps
Resources
  • Support Center
  • WordPress News
  • Business Name Generator
  • Logo Maker
  • Discover New Posts
  • Popular Tags
  • Blog Search
Jetpack App
  • Learn more
  • Support Center
  • Guides
  • Courses
  • Forums
  • Contact
Search
  • Support Center
  • Guides
  • Courses
  • Forums
  • Contact
Forums / open iOS/android app from button clink

open iOS/android app from button clink

  • Unknown's avatar
    heeltoedynamics · Member · Mar 19, 2024 at 11:13 pm
    • Copy link Copy link
    • Add topic to favorites Add topic to favorites

    I want to have a WordPress website, I need it to open my react native app on iOS and android through a button click. I was achieving this with this line (prior to using WordPress)

    window.location.replace(url);

    and url was a custom one for my app autotourapp.com:/

    is it possible to do this with WordPress, does the site allow me to have a /.wellKnown file for apple to access to confirm the site and the app are linked.

    to link and open specific content in our react native ios/android app we have a custom url scheme: autotourapp.com:/
    Opening our app from the web (on mobile) has required me to replace the in-browser url with the custom url scheme and path autotourapp.com:/map/trail/10778.
    I am looking to have a user on our WordPress based website be able to click a button to view some content in the app, thus going to a link similar to the one i showed prior: autotourapp.com:/map/trail/10778. On a non-word press site I have achieved this by using window.location.replace(‘autotourapp.com:/map/trail/10778’). On our WordPress site I want to achieve this same behavior.

    So I am trying to handle this by writing code to handle the button click and send to the url.

    For additional context Apple requires a JSON file to be hosted on the website to confirm that the website is associated with that app and can open it. It’s called an apple-app-site-association file and it needs to be stored at https://autotourapp.com/.well-known/apple-app-site-association with no redirects.

    https://developer.apple.com/documentation/xcode/supporting-associated-domains

    Google requires something similar for android. I am looking for if it’s possible to store those files and forward from my site to my mobile app. Is it possible to do this with WordPress? If so I will be paying for an upgraded site, I just don’t want to pay to find out its not possible.

    Thank you,
    Matthew

    WP.com: Yes
    Jetpack: No
    Correct account: Yes

    The blog I need help with is: (visible only to logged in users)

  • The topic ‘open iOS/android app from button clink’ is closed to new replies.

Tags

  • account
  • design
  • payment
  • wpcomhelp

About this topic

  • In: Support
  • 1 participant
  • 0 replies
  • Last activity 2 years
  • Latest reply from heeltoedynamics

Have a question?

Get in touch
Back to Top

Couldn't find what you needed?

Contact us

Get answers from our AI assistant, with access to 24/7 expert human support on paid plans.

Browse our guides

Find step-by-step solutions to common questions in our comprehensive guides.

WordPress.com

Products
  • WordPress Hosting
  • WordPress for Agencies
  • Become an Affiliate
  • Domain Names
  • AI Website Builder
  • Website Builder
  • Create a Blog
  • Professional Email
  • Website Design Services
  • WordPress Studio
  • Enterprise WordPress
Features
  • Overview
  • WordPress Themes
  • WordPress Plugins
  • WordPress Patterns
  • WordPress AI Features
  • Google Apps
Resources
  • WordPress.com Blog
  • Business Name Generator
  • Logo Maker
  • WordPress.com Reader
  • Accessibility
  • Remove Subscriptions
Help
  • Support Center
  • Guides
  • Courses
  • Forums
  • Contact
  • Developer Resources
Company
  • About
  • Press
  • Terms of Service
  • Privacy Policy
  • Do Not Sell or Share My Personal Information
  • Privacy Notice for California Users
DeutschEspañolFrançaisBahasa IndonesiaItalianoNederlandsPortuguês do BrasilSvenskaTürkçeРусскийالعربيةעִבְרִית日本語한국어简体中文繁體中文English

Mobile Apps

  • Download on the App Store
  • Get it on Google Play

Social Media

  • WordPress.com on Facebook
  • WordPress.com on X (Twitter)
  • WordPress.com on Instagram
  • WordPress.com on YouTube

Automattic

Automattic
Work With Us
    • WordPress.com Forums
    • Sign up
    • Log in
    • Copy shortlink
    • Report this content
    • Manage subscriptions