Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .phpunit.cache/test-results
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"version":"pest_4.7.8","defects":[],"times":{"P\\Tests\\BrowserBridgeTest::__pest_evaluable__open____\u2192_it_fires_Browser_Open_with_the_url_payload":0.02,"P\\Tests\\BrowserBridgeTest::__pest_evaluable__open____\u2192_it_returns_true_when_the_bridge_reports_success":0.001,"P\\Tests\\BrowserBridgeTest::__pest_evaluable__open____\u2192_it_returns_false_when_the_bridge_reports_success_as_false":0.001,"P\\Tests\\BrowserBridgeTest::__pest_evaluable__open____\u2192_it_returns_false_when_the_response_has_no_success_key":0,"P\\Tests\\BrowserBridgeTest::__pest_evaluable__open____\u2192_it_returns_false_when_nothing_is_scripted_for_the_bridge_call":0.015,"P\\Tests\\BrowserBridgeTest::__pest_evaluable__open____\u2192_it_passes_a_url_with_query_strings_and_a_fragment_verbatim":0.001,"P\\Tests\\BrowserBridgeTest::__pest_evaluable__open____\u2192_it_passes_a_url_with_special_and_encoded_characters_verbatim":0.001,"P\\Tests\\BrowserBridgeTest::__pest_evaluable__open____\u2192_it_does_not_validate_the_url_before_calling_the_bridge":0.001,"P\\Tests\\BrowserBridgeTest::__pest_evaluable__open____\u2192_it_calls_the_bridge_exactly_once_per_invocation":0,"P\\Tests\\BrowserBridgeTest::__pest_evaluable__inApp____\u2192_it_fires_Browser_OpenInApp_with_the_url_payload":0.001,"P\\Tests\\BrowserBridgeTest::__pest_evaluable__inApp____\u2192_it_returns_true_when_the_bridge_reports_success":0.001,"P\\Tests\\BrowserBridgeTest::__pest_evaluable__inApp____\u2192_it_returns_false_when_the_bridge_reports_success_as_false":0.001,"P\\Tests\\BrowserBridgeTest::__pest_evaluable__inApp____\u2192_it_returns_false_when_the_response_has_no_success_key":0.001,"P\\Tests\\BrowserBridgeTest::__pest_evaluable__inApp____\u2192_it_returns_false_when_nothing_is_scripted_for_the_bridge_call":0.001,"P\\Tests\\BrowserBridgeTest::__pest_evaluable__inApp____\u2192_it_passes_a_url_with_query_strings_and_a_fragment_verbatim":0.001,"P\\Tests\\BrowserBridgeTest::__pest_evaluable__inApp____\u2192_it_throws_an_InvalidArgumentException_for_an_invalid_url":0.001,"P\\Tests\\BrowserBridgeTest::__pest_evaluable__inApp____\u2192_it_does_not_call_the_bridge_when_the_url_is_invalid":0.001,"P\\Tests\\BrowserBridgeTest::__pest_evaluable__inApp____\u2192_it_throws_for_an_empty_string_url":0.001,"P\\Tests\\BrowserBridgeTest::__pest_evaluable__inApp____\u2192_it_accepts_a_valid_url_containing_a_port_and_userinfo":0.001,"P\\Tests\\BrowserBridgeTest::__pest_evaluable__inApp____\u2192_it_calls_the_bridge_exactly_once_per_invocation":0.001,"P\\Tests\\BrowserBridgeTest::__pest_evaluable__auth____\u2192_it_fires_Browser_OpenAuth_with_the_url_payload":0.001,"P\\Tests\\BrowserBridgeTest::__pest_evaluable__auth____\u2192_it_returns_true_when_the_bridge_reports_success":0,"P\\Tests\\BrowserBridgeTest::__pest_evaluable__auth____\u2192_it_returns_false_when_the_bridge_reports_success_as_false":0.001,"P\\Tests\\BrowserBridgeTest::__pest_evaluable__auth____\u2192_it_returns_false_when_the_response_has_no_success_key":0,"P\\Tests\\BrowserBridgeTest::__pest_evaluable__auth____\u2192_it_returns_false_when_nothing_is_scripted_for_the_bridge_call":0.001,"P\\Tests\\BrowserBridgeTest::__pest_evaluable__auth____\u2192_it_passes_an_OAuth_url_with_query_strings_and_a_callback_redirect_verbatim":0.001,"P\\Tests\\BrowserBridgeTest::__pest_evaluable__auth____\u2192_it_does_not_validate_the_url_before_calling_the_bridge":0.001,"P\\Tests\\BrowserBridgeTest::__pest_evaluable__auth____\u2192_it_calls_the_bridge_exactly_once_per_invocation":0.001,"P\\Tests\\BrowserBridgeTest::__pest_evaluable__cross_method_isolation__\u2192_it_does_not_cross_call_other_bridge_functions":0.001,"P\\Tests\\BrowserBridgeTest::__pest_evaluable__cross_method_isolation__\u2192_it_records_calls_to_different_methods_independently_and_in_order":0,"P\\Tests\\BrowserMacrosTest::__pest_evaluable__assertBrowsed____\u2192_it_passes_when_the_system_browser_was_opened":0,"P\\Tests\\BrowserMacrosTest::__pest_evaluable__assertBrowsed____\u2192_it_passes_when_the_in_app_browser_was_opened":0,"P\\Tests\\BrowserMacrosTest::__pest_evaluable__assertBrowsed____\u2192_it_passes_when_an_auth_session_was_opened":0,"P\\Tests\\BrowserMacrosTest::__pest_evaluable__assertBrowsed____\u2192_it_matches_the_exact_opened_url_across_any_of_the_three_methods":0.001,"P\\Tests\\BrowserMacrosTest::__pest_evaluable__assertBrowsed____\u2192_it_fails_when_nothing_was_opened":0.001,"P\\Tests\\BrowserMacrosTest::__pest_evaluable__assertBrowsed____\u2192_it_fails_when_a_different_url_was_opened__naming_what_was":0.001,"P\\Tests\\BrowserMacrosTest::__pest_evaluable__assertOpenedInApp____\u2192_it_passes_when_the_in_app_browser_was_opened":0,"P\\Tests\\BrowserMacrosTest::__pest_evaluable__assertOpenedInApp____\u2192_it_matches_the_exact_url":0,"P\\Tests\\BrowserMacrosTest::__pest_evaluable__assertOpenedInApp____\u2192_it_fails_when_nothing_was_opened_in_app":0,"P\\Tests\\BrowserMacrosTest::__pest_evaluable__assertOpenedInApp____\u2192_it_does_not_pass_for_a_system_browser_open":0,"P\\Tests\\BrowserMacrosTest::__pest_evaluable__assertOpenedInApp____\u2192_it_fails_when_a_different_url_was_opened_in_app__naming_what_was":0,"P\\Tests\\BrowserMacrosTest::__pest_evaluable__assertOpenedAuth____\u2192_it_passes_when_an_auth_session_was_opened":0,"P\\Tests\\BrowserMacrosTest::__pest_evaluable__assertOpenedAuth____\u2192_it_matches_the_exact_url":0,"P\\Tests\\BrowserMacrosTest::__pest_evaluable__assertOpenedAuth____\u2192_it_fails_when_nothing_was_opened_for_auth":0.001,"P\\Tests\\BrowserMacrosTest::__pest_evaluable__assertOpenedAuth____\u2192_it_does_not_pass_for_an_in_app_open":0.001,"P\\Tests\\BrowserMacrosTest::__pest_evaluable__assertOpenedAuth____\u2192_it_fails_when_a_different_url_was_opened_for_auth__naming_what_was":0.001,"P\\Tests\\BrowserMacrosTest::__pest_evaluable__assertNothingBrowsed____\u2192_it_passes_when_nothing_was_opened":0.001,"P\\Tests\\BrowserMacrosTest::__pest_evaluable__assertNothingBrowsed____\u2192_it_fails_after_the_system_browser_was_opened":0.001,"P\\Tests\\BrowserMacrosTest::__pest_evaluable__assertNothingBrowsed____\u2192_it_fails_after_the_in_app_browser_was_opened":0,"P\\Tests\\BrowserMacrosTest::__pest_evaluable__assertNothingBrowsed____\u2192_it_fails_after_an_auth_session_was_opened":0,"P\\Tests\\PluginTest::__pest_evaluable__Plugin_Manifest__\u2192_it_has_a_valid_nativephp_json_file":0.001,"P\\Tests\\PluginTest::__pest_evaluable__Plugin_Manifest__\u2192_it_has_required_fields":0.001,"P\\Tests\\PluginTest::__pest_evaluable__Plugin_Manifest__\u2192_it_declares_every_bridge_function_for_both_platforms":0.001,"P\\Tests\\PluginTest::__pest_evaluable__Plugin_Manifest__\u2192_it_declares_no_events":0,"P\\Tests\\PluginTest::__pest_evaluable__Plugin_Manifest__\u2192_it_requests_no_permissions":0,"P\\Tests\\PluginTest::__pest_evaluable__Native_Code__\u2192_it_has_matching_bridge_function_classes_in_native_code":0.001,"P\\Tests\\PluginTest::__pest_evaluable__Composer_Configuration__\u2192_it_has_valid_composer_json":0,"P\\Tests\\PluginTest::__pest_evaluable__Composer_Configuration__\u2192_it_registers_a_provider_that_maps_to_an_existing_file":0}}
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,11 @@ Opens a URL in an embedded browser within your app using Custom Tabs (Android) o

Opens a URL in the device's default browser app, leaving your application entirely.

Also handles custom schemes — `open('myapp://path')` hands the URL to whichever
app registered `myapp`, if one is installed. The returned `success` is the real
answer: `false` means the system found nothing to open it with, which is how you
detect that the target app is not installed.

### `auth()`

Opens a URL in a specialized authentication browser designed for OAuth flows with automatic `nativephp://` redirect handling.
Expand Down
Loading