search

Home  >  Q&A  >  body text

javascript - H5 wake up App

H5 wakes up the App, how to detect whether it is successfully woken up?

The current processing is:

The current idea is to determine whether the App is open by judging whether the page is visible or loses focus, so we made the following attempts:

我想大声告诉你我想大声告诉你2797 days ago656

reply all(1)I'll reply

  • 仅有的幸福

    仅有的幸福2017-05-16 13:36:27

    Use Universal Links on iOS.

    setTimeout visibilityChange is all a hack. There is an official solution like universal links in iOS9+, but all kinds of weird browsers on Android are in trouble. If you still jump to the download page after calling up your own App, then just jump. What can be done? Instead of overly focusing on the details that cannot be solved by the front end and can only be hacked, it is better to make the product good. Once the user installs your app, he will naturally use the app himself.

    reply
    0
  • Cancelreply