This repository has been archived by the owner on Aug 31, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 220
[[ libbrowser ]] Update iOS browser implementation to use WKWebView #7222
Merged
livecodepanos
merged 13 commits into
livecode:develop
from
livecodeian:feature-libbrowser-wkwebview
Nov 18, 2019
Merged
[[ libbrowser ]] Update iOS browser implementation to use WKWebView #7222
livecodepanos
merged 13 commits into
livecode:develop
from
livecodeian:feature-libbrowser-wkwebview
Nov 18, 2019
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This patch adds a browser implementation for iOS based on the WKWebView class in the WebKit framework.
…get docs This patch updates the documentation for the property 'userAgent' to show that it is now supported on iOS.
This patch adds a release note for the addition of the WkWebView implementation to the browser widget.
This patch removes the old UIWebView based iOS browser control implementation so it is no longer compiled into the ios standalone engine. This will stop iOS app store submissions from receiving warnings about the use of the deprecated UIWebView class.
This patch adds a callback mechanism for intercepting navigation requests and allowing the client to respond, either cancelling or continuing the load of the requested URL.
@livecode-vulcan review ok c41cfd9 |
💙 review by @runrevmark ok c41cfd9 |
livecode-vulcan
added a commit
that referenced
this pull request
Nov 14, 2019
…ebview [[ libbrowser ]] Update iOS browser implementation to use WKWebView This patch adds a new browser implementation for iOS based on the WKWebView class.
😞 test failure c41cfd9
|
livecodeian
force-pushed
the
feature-libbrowser-wkwebview
branch
from
November 14, 2019 22:20
c41cfd9
to
86db34a
Compare
@livecode-vulcan review ok 86db34a |
💙 review by @runrevmark ok 86db34a |
livecode-vulcan
added a commit
that referenced
this pull request
Nov 15, 2019
…ebview [[ libbrowser ]] Update iOS browser implementation to use WKWebView This patch adds a new browser implementation for iOS based on the WKWebView class.
😞 test failure 86db34a
|
This patch adds extra properties to libbrowser that allow controlling aspects of the webview that are available on iOS. New properties: * scrollEnabled - the browser contents can be scrolled * scrollCanBounce - the contents can be scrolled beyond the edge of the view, bouncing back once released * canGoBack - the browser can navigate to the previous site in its history * canGoForward - the browser can navigate to the next site in its history * autoFit - browser contents are scaled to fit the width of the view * dataDetectorTypes - types of content that are detected within the browser * allowsInlineMediaPlayback - video plays within browser view or plays fullscreen * mediaPlaybackRequiresUserAction - media doesn't play unless triggered by the user These have been added to the iOS browser implementation. *Note*: modifying the 'dataDetectorTypes', 'allowsInlineMediaPlayback', 'mediaPlaybackRequiresUserAction' will reset the browser - these should ideally be set once when initialising the browser.
…reload This patch extends the libbrowser API by adding the 'loadHTMLText', 'stop', and 'reload' actions.
This patch adds new properties and foreign handlers to the engine browser LCB module, bringing it up to date with changes to the libbrowser C API
… API This patch edits handlers, variables, and foreign handler calls within the browser widget code after renaming of `MCBrowserRequestCallback` to `MCBrowserNavigationCallback` and associated handlers & types
This patch moves the engine runloop setup code from the browser LCB module to a C++ function within the engine browser module. This will allow the same code to be used by the browser widget and by the libbrowser-based mobile browser control
This patch updates various dictionary entries to remove references to UIWebView which is no longer used by the iOS mobile browser control.
…date This patch adds a release note for the update of the iOS mobile browser control to the WebKit framework and WkWebView object.
livecodeian
force-pushed
the
feature-libbrowser-wkwebview
branch
from
November 18, 2019 11:41
86db34a
to
114f494
Compare
@runrevmark The Windows build issues have been fixed now |
@livecode-vulcan review ok 114f494 |
💙 review by @runrevmark ok 114f494 |
livecode-vulcan
added a commit
that referenced
this pull request
Nov 18, 2019
…ebview [[ libbrowser ]] Update iOS browser implementation to use WKWebView This patch adds a new browser implementation for iOS based on the WKWebView class.
😎 test success 114f494
|
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This patch adds a new browser implementation for iOS based on the WKWebView class.