-
Notifications
You must be signed in to change notification settings - Fork 11
feat(ios): add openinwebview #5
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
Merged
Merged
Conversation
This file contains hidden or 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
d1f6cc1 to
701c07c
Compare
Update xcframework to use the latest library version. Update TypeScript's definition and default values. This creates a new model to provide the WebView's parameters. Add all logic to provide the 'open in WebView' feature. Split the Input Arguments model into 2, one for WebView and another for SystemBrowser. This involves refactoring the code to reuse as much as possible. Add two buttons to the sample app, to test the WebView. One uses the default values and the other is custom. References: https://outsystemsrd.atlassian.net/browse/RMET-3425 References: https://outsystemsrd.atlassian.net/browse/RMET-3430 References: https://outsystemsrd.atlassian.net/browse/RMET-3489
701c07c to
6796936
Compare
alexgerardojacinto
approved these changes
Jun 14, 2024
OS-martacarlos
approved these changes
Jun 19, 2024
IT-MikeS
pushed a commit
that referenced
this pull request
Jul 25, 2024
# 1.0.0-dev.1 (2024-07-25) ### Bug Fixes * capacitor bridge ([5021349](5021349)) * decodeIfPresent for optional param ([29d4356](29d4356)) * use correct parameter for openInWebView in definitions.ts ([94e36cd](94e36cd)) ### Features * add documentation for isSchemeValid function ([2f39e9e](2f39e9e)) * add external browser options to sample app ([6f621f6](6f621f6)) * add webview customizations ([9ba1d27](9ba1d27)) * **android:** implement open with external browser ([150404b](150404b)) * check if url scheme is valid before trying to open it ([119d4d0](119d4d0)) * implement browserPageLoaded and browserFinished events ([e70ab0c](e70ab0c)) * implement event listeners for CustomTabs ([00071db](00071db)) * implement openInWebView for Android ([70ad5e5](70ad5e5)) * **ios:** add openInExternalBrowser ([#1](#1)) ([17a7c59](17a7c59)) * **ios:** add openInSystemBrowser ([#3](#3)) ([fa5b065](fa5b065)) * **ios:** add openinwebview ([#5](#5)) ([1fc3485](1fc3485)) * **ios:** close ([#8](#8)) ([075cb45](075cb45)) * **ios:** fix error code and messages ([#18](#18)) ([2508dec](2508dec)) * **ios:** webview error page ([0677a20](0677a20)) * update android lib ([816866c](816866c)) * update capacitor bridge with new version of OSInAppBrowserLib-Android ([65a1e1a](65a1e1a)) * update dependency to OSInAppBrowserLib-Android library ([503eb86](503eb86)) * update xcframework ([b4d26c8](b4d26c8))
OS-martacarlos
pushed a commit
that referenced
this pull request
Aug 21, 2024
# 1.0.0-dev.1 (2024-07-25) ### Bug Fixes * capacitor bridge ([5021349](5021349)) * decodeIfPresent for optional param ([29d4356](29d4356)) * use correct parameter for openInWebView in definitions.ts ([94e36cd](94e36cd)) ### Features * add documentation for isSchemeValid function ([2f39e9e](2f39e9e)) * add external browser options to sample app ([6f621f6](6f621f6)) * add webview customizations ([9ba1d27](9ba1d27)) * **android:** implement open with external browser ([150404b](150404b)) * check if url scheme is valid before trying to open it ([119d4d0](119d4d0)) * implement browserPageLoaded and browserFinished events ([e70ab0c](e70ab0c)) * implement event listeners for CustomTabs ([00071db](00071db)) * implement openInWebView for Android ([70ad5e5](70ad5e5)) * **ios:** add openInExternalBrowser ([#1](#1)) ([17a7c59](17a7c59)) * **ios:** add openInSystemBrowser ([#3](#3)) ([fa5b065](fa5b065)) * **ios:** add openinwebview ([#5](#5)) ([1fc3485](1fc3485)) * **ios:** close ([#8](#8)) ([075cb45](075cb45)) * **ios:** fix error code and messages ([#18](#18)) ([2508dec](2508dec)) * **ios:** webview error page ([0677a20](0677a20)) * update android lib ([816866c](816866c)) * update capacitor bridge with new version of OSInAppBrowserLib-Android ([65a1e1a](65a1e1a)) * update dependency to OSInAppBrowserLib-Android library ([503eb86](503eb86)) * update xcframework ([b4d26c8](b4d26c8))
IT-MikeS
pushed a commit
that referenced
this pull request
Aug 21, 2024
# 1.0.0-dev.1 (2024-08-21) ### Bug Fixes * android dep ref ([caaaf2c](caaaf2c)) * capacitor bridge ([5021349](5021349)) * ci release process ([38687ed](38687ed)) * decodeIfPresent for optional param ([29d4356](29d4356)) * more ci fixes ([a20f93c](a20f93c)) * podspec not published ([d031b43](d031b43)) * use correct parameter for openInWebView in definitions.ts ([94e36cd](94e36cd)) ### Features * add documentation for isSchemeValid function ([2f39e9e](2f39e9e)) * add external browser options to sample app ([6f621f6](6f621f6)) * add webview customizations ([9ba1d27](9ba1d27)) * **android:** implement open with external browser ([150404b](150404b)) * check if url scheme is valid before trying to open it ([119d4d0](119d4d0)) * implement browserPageLoaded and browserFinished events ([e70ab0c](e70ab0c)) * implement event listeners for CustomTabs ([00071db](00071db)) * implement openInWebView for Android ([70ad5e5](70ad5e5)) * **ios:** add openInExternalBrowser ([#1](#1)) ([17a7c59](17a7c59)) * **ios:** add openInSystemBrowser ([#3](#3)) ([fa5b065](fa5b065)) * **ios:** add openinwebview ([#5](#5)) ([1fc3485](1fc3485)) * **ios:** close ([#8](#8)) ([075cb45](075cb45)) * **ios:** fix error code and messages ([#18](#18)) ([2508dec](2508dec)) * **ios:** webview error page ([0677a20](0677a20)) * swap xcframework for cocoapod + update android aar ([521ce27](521ce27)) * update android lib ([816866c](816866c)) * update capacitor bridge with new version of OSInAppBrowserLib-Android ([65a1e1a](65a1e1a)) * update dependency to OSInAppBrowserLib-Android library ([503eb86](503eb86)) * update xcframework ([b4d26c8](b4d26c8))
IT-MikeS
pushed a commit
that referenced
this pull request
Aug 22, 2024
# 1.0.0 (2024-08-22) ### Bug Fixes * android dep ref ([caaaf2c](caaaf2c)) * android dep ref ([f02d5e1](f02d5e1)) * capacitor bridge ([5021349](5021349)) * ci ([4df108d](4df108d)) * ci release process ([38687ed](38687ed)) * ci release process ([effccbd](effccbd)) * decodeIfPresent for optional param ([29d4356](29d4356)) * more ci fixes ([a20f93c](a20f93c)) * more ci fixes ([d39fb72](d39fb72)) * podspec not published ([d031b43](d031b43)) * podspec not published ([17d1417](17d1417)) * use correct parameter for openInWebView in definitions.ts ([94e36cd](94e36cd)) ### Features * add documentation for isSchemeValid function ([2f39e9e](2f39e9e)) * add external browser options to sample app ([6f621f6](6f621f6)) * add webview customizations ([9ba1d27](9ba1d27)) * **android:** implement open with external browser ([150404b](150404b)) * check if url scheme is valid before trying to open it ([119d4d0](119d4d0)) * implement browserPageLoaded and browserFinished events ([e70ab0c](e70ab0c)) * implement event listeners for CustomTabs ([00071db](00071db)) * implement openInWebView for Android ([70ad5e5](70ad5e5)) * **ios:** add openInExternalBrowser ([#1](#1)) ([17a7c59](17a7c59)) * **ios:** add openInSystemBrowser ([#3](#3)) ([fa5b065](fa5b065)) * **ios:** add openinwebview ([#5](#5)) ([1fc3485](1fc3485)) * **ios:** close ([#8](#8)) ([075cb45](075cb45)) * **ios:** fix error code and messages ([#18](#18)) ([2508dec](2508dec)) * **ios:** webview error page ([0677a20](0677a20)) * swap xcframework for cocoapod + update android aar ([521ce27](521ce27)) * swap xcframework for cocoapod + update android aar ([ea7f639](ea7f639)) * update android lib ([816866c](816866c)) * update capacitor bridge with new version of OSInAppBrowserLib-Android ([65a1e1a](65a1e1a)) * update dependency to OSInAppBrowserLib-Android library ([503eb86](503eb86)) * update xcframework ([b4d26c8](b4d26c8))
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
References: https://outsystemsrd.atlassian.net/browse/RMET-3425
References: https://outsystemsrd.atlassian.net/browse/RMET-3430
References: https://outsystemsrd.atlassian.net/browse/RMET-3489