Home > front end >  IOS app embedded H5 page, for the first time into the can locate, the second failure.
IOS app embedded H5 page, for the first time into the can locate, the second failure.

Time:10-09

Process:
1, from the native APP application block and dived into the H5 page orientation,
2, successful positioning,
3, from the H5 page to return to the interface of a native APP,
4, again from the APP native page into the H5,
5, positioning failure,
6, close the APP background, back into the APP and then enter the page of H5, positioning success,
Map used for gold, 4 g network environment, the page for the HTTPS, Scott error to get geolocation time out, get iplocation failed. Please help, always may not be able to come in the second position is,

CodePudding user response:

When entering the h5 from native, clear the cache and active call h5 for positioning method

CodePudding user response:

reference 1st floor front end little helper response:
enter the h5 from native, clear the cache and active call h5 for positioning method

Because of the cache, H5 is written in the VUE map and enter the page will be automatically is initialized, positioning, H5 page in the android and IOS WeChat, QQ, etc can locate program,

CodePudding user response:

refer to the second floor iiiiiilove response:
Quote: refer to 1st floor front end little helper response:

When entering the h5 from native, clear the cache and active call h5 for positioning method

Because of the cache, H5 is written in the VUE map and enter the page will be automatically is initialized, positioning, H5 page in the android and IOS WeChat, QQ can locate program, such as

I think because of the cache, ios page back or open has been opening page page information is cached

CodePudding user response:

reference 3 floor front end little helper response:
Quote: refer to the second floor iiiiiilove response:
Quote: refer to 1st floor front end little helper response:

When entering the h5 from native, clear the cache and active call h5 for positioning method

Because of the cache, H5 is written in the VUE map and enter the page will be automatically is initialized, positioning, H5 page in the android and IOS WeChat, QQ can locate program, such as

I think because of the cache, ios page back or open information has already opened page when the page is cached


Okay, I try,
  • Related