Skip to content
This repository has been archived by the owner on Jan 9, 2023. It is now read-only.

(ios) Bug fix in recent change in iOSExec.nativeCallback #78

Merged
merged 1 commit into from
Feb 19, 2019

Conversation

alexhisen
Copy link
Contributor

Platforms affected

iOS

Motivation and Context

Now, callbackFromNative will actually get called async. Before it was not.
See #49

Description

Use resolve.then() exactly same as in https://github.com/ionic-team/cordova-plugin-ionic-webview/blob/master/src/www/ios/ios-wkwebview-exec.js

Testing

Works in an actual app

Checklist

  • Commit is prefixed with (platform) if this change only applies to one platform (e.g. (android))

Now, callbackFromNative will actually get called async
Copy link
Member

@jcesarmobile jcesarmobile left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As CB-12815 is already closed as fixed, better don't reuse the same id. Just remove that part from the PR title and commit message.

@alexhisen alexhisen changed the title CB-12815: (ios) Bug fix in recent change in iOSExec.nativeCallback (ios) Bug fix in recent change in iOSExec.nativeCallback Feb 18, 2019
@jcesarmobile jcesarmobile merged commit 6f468f4 into apache:master Feb 19, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants