Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IOS 12.2 beta2 webview functions with animations not working #537

Closed
karthibv opened this issue Feb 19, 2019 · 5 comments
Closed

IOS 12.2 beta2 webview functions with animations not working #537

karthibv opened this issue Feb 19, 2019 · 5 comments

Comments

@karthibv
Copy link

Currently my application, some angular animation in UIWebview in background is not working.
Following stuff i'm doing in current app,

Creating a cordovaviewcontroller instance in background and supplying start page link. And just have this instance in property and not rendering this view controller in screen.

Few angular resource are loaded in background itself in the cordova instance which i created in step 1, to improve the webview loading performance.

Durning some button action, I'm opening Viewcontroller with cordovaviewcontroller view as subview and rending specific angular screen with animation.

Everything working fine <12.2 beta.

In 12.2 beta, some of the angular animation are not working properly.

We tried to remove the angular animation and tried. After that, angular screen rendering properly without animation.

One more step also I tried, instead of initializing cordova in background, created cordova instance in foreground and rendered viewcontroller, now also everything working fine.

Is loading web stuff in background, causing issue? I really need that background loading part for the performance.

Any help is appreciated.

STEPS TO REPRODUCE

  1. Create a Cordova application
  2. On Launch - foreground have simple native page with link to open webview
  3. On Launch - background to load the sample angular page with transform: 'translate3d animation. have some links in angular page and do the translate3d animation to load the other pages
  4. < io12.2 beta - its working fine. issue is happening in ios 12.2 beta. After sample app launch and then click of webview link .. links takes to webview page but nothing working there.,

Version information
Cordova-IOS - v4.3
IOS 12.2 beta2

@karthibv karthibv changed the title IOS 12.2 beta2 webview functions not working working properly IOS 12.2 beta2 webview functions with animations not working Feb 19, 2019
@janpio
Copy link
Member

janpio commented Feb 19, 2019

Do you have a proper Cordova app here or a native app that uses the Cordova webview? How do you build your app?

Cordova-IOS - v4.3

Your Cordova tooling seems to be out of date, which might be causing all kinds of problems.
You can read about how to figure out the current Cordova versions and how to update CLI, platforms and plugins here: https://ionic.zone/cordova/update

@karthibv
Copy link
Author

karthibv commented Feb 20, 2019

We tried upgrading latest cordova version also and still same issue. is there any issue due to web-animation partial supported provided as part of IOS 12.2 ?. Our app use extensive Angular animation with poly fill.

My App has mix of native screen and webview. First few screens are in native like login and dashboard . After dashboard rest are Webview based on links in dashboard.

@janpio janpio added the iOS 12 label Mar 1, 2019
@janpio
Copy link
Member

janpio commented Mar 1, 2019

Is this reproducible in a new, plain Cordova app? A minimal reproduction repository would really help to debug and later fix this issue. More information on how to create one: https://github.com/apache/cordova-contribute/blob/master/create-reproduction.md

@janpio janpio added the support label Mar 1, 2019
@karthibv
Copy link
Author

Issue not there from 12.2 beta4 onwards. l have raised as bug to apple and it seems solved by apple in beta4 ,5,6. now final version does not have the issue.

@jcesarmobile
Copy link
Member

Closing as it was an apple issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants