{"id":13744185,"url":"https://github.com/StickSports/ANE-Can-Open-URL","last_synced_at":"2025-05-09T02:32:53.134Z","repository":{"id":2966649,"uuid":"3981498","full_name":"StickSports/ANE-Can-Open-URL","owner":"StickSports","description":"Air native extension for iOS to detect whether an app is installed to handle a specific URL scheme.","archived":false,"fork":false,"pushed_at":"2017-04-24T09:19:11.000Z","size":252,"stargazers_count":37,"open_issues_count":3,"forks_count":9,"subscribers_count":27,"default_branch":"master","last_synced_at":"2024-11-15T15:42:18.788Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://www.sticksports.com/mobile/","language":"ActionScript","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"zhihu/kids","license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/StickSports.png","metadata":{"files":{"readme":"README.textile","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2012-04-10T11:18:13.000Z","updated_at":"2021-06-03T16:20:38.000Z","dependencies_parsed_at":"2022-08-20T07:20:09.819Z","dependency_job_id":null,"html_url":"https://github.com/StickSports/ANE-Can-Open-URL","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/StickSports%2FANE-Can-Open-URL","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/StickSports%2FANE-Can-Open-URL/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/StickSports%2FANE-Can-Open-URL/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/StickSports%2FANE-Can-Open-URL/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/StickSports","download_url":"https://codeload.github.com/StickSports/ANE-Can-Open-URL/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253177860,"owners_count":21866409,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-03T05:01:04.715Z","updated_at":"2025-05-09T02:32:52.769Z","avatar_url":"https://github.com/StickSports.png","language":"ActionScript","funding_links":[],"categories":["Native Extension","AIR Native Extensions"],"sub_categories":["System ANE"],"readme":"h1. Air Native Extension for iOS and Android - Can Open URL\n\n*Please note that we are no longer able to support this project and are not contributing to it.*\n\n*64-bit version can be found at https://github.com/CollabPlus/ANE-Can-Open-URL*\n\nThis is an \"Air native extension\":http://www.adobe.com/devnet/air/native-extensions-for-air.html to test whether an app is installed to handle a URL scheme on the iOS and Android platforms.\n\nThis extension enables checking for the existence of an app to handle any specified URL within an Air project. The extension has a single command that checks for a URL handler.\n\nh3. Version\n\nThis is version 1.1 of this extension.\n\nh3. Binary files\n\nThe bin folder contains the compiled extension and the default swc, which can be used for local testing if required by your development environment (Flash Builder shouldn't need it, but other IDEs may).\n\nh3. Building\n\nRequirements - Adobe Air SDK 3.1 or later, XCode IDE, Android SDK 2.2 or later, Java SDK, Apache Ant\n\n* iOS\n** Add the FlashRuntimeExtensions.h file from the Adobe Air sdk to the ios/CanOpenUrlIosExtension folder in the project.\n* Android\n** Add the FlashRuntimeExtensions.jar file from the Adobe Air sdk to the android/libs folder in the project.\n* Create a copy of the build/example.build.config file in the build folder, calling it build.config and change the properties in this file to match your system.\n** A certificate is required by the build script. This may be a self-signed certificate created by Adobe Air. This should not be an Apple developer certificate.\n* Run the ant build script build.xml. This creates the native extension and default swc file inside the bin folder.\n\nh3. The test project\n\nA simple test project is included for testing the extension. To build this air project\n\n* Run the ant build script test/build.xml. This creates the test ipa and apk apps inside the test/bin folder.\n\nh3. Using the extension\n\nh4. To find whether an app exists to open a specific URL -\n\n@CanOpenUrl.canOpen( url : String ) : Boolean@\n\nh3. Example code\n\nYou can see the feature in action in the source code of the test project.\n\nh3. Developers\n\n* \"Stick Sports\":http://www.sticksports.com/\n\nh3. Games using this extension\n\n* \"Stick Tennis\":http://itunes.apple.com/app/stick-tennis/id507086545?ls=1\u0026mt=8\n* \"Stick Cricket Super Sixes\":http://itunes.apple.com/app/stick-cricket-super-sixes/id483135193?ls=1\u0026mt=8\n\nh2. License\n\nAuthor: Richard Lord\nOwner: Stick Sports Ltd.\nhttp://www.sticksports.com\n\nCopyright (c) 2011, Stick Sports Ltd.\nAll rights reserved.\n\nRedistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:\n\n* Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.\n* Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.\n* Neither the name of Stick Sports Ltd. nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.\n  \nTHIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS \"AS IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FStickSports%2FANE-Can-Open-URL","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FStickSports%2FANE-Can-Open-URL","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FStickSports%2FANE-Can-Open-URL/lists"}