I'm looking for a way to launch an OSX app(Standalone) created with Unity from a browser using a custom URL scheme.
After add a custom URL scheme to the Info.plist, I can launch the app successfully.
And I want to know how can I get the arguments passed in the URL.(e.g. URLscheme://iwanttoreadthisdata).
Is there any way to do this?
Launching OSX app created with Unity from custom URL scheme
706 Views Asked by Doi At
1
There are 1 best solutions below
Related Questions in MACOS
- Error installing Nativescript on Mac M2 Sonoma 14.4.1
- macOS - Most secure way of a GUI SUDO_ASKPASS
- When using onDrag in SwiftUI on Mac how can I detect when the dragged object has been released anywhere?
- Why does Hugo generate different taxonomy-related HTML on different OS's?
- ZSH function parameters conundrum
- how to make read only file/directory in Mac writable
- macOS BigSur - Unable to run bundled php version or brew php 8
- 9 Digit Addresses in Hexadecimal System in MacOS
- MacOS Bash-Script: while read p and echo
- How to make a range for tail rows on a categorized table in Numbers with JXA scripts?
- Cannot build a basic project with curl on Mac (M2) for Raspberry Pi Pico
- How to recover deleted files from create vite react project
- Can't run built SFML project from Xcode template
- React Native - RealmJS - Linker command failed with exit code 1
- How can I manually add a keyboard shortcut to a Shortcut Action Service directly via the system files, without going through the System Prefs GUI?
Related Questions in UNITY-GAME-ENGINE
- How to use invokerepeating and make ui text fade in/out over time?
- Player input not working properly in unity
- Get block in Mesh Unity
- Does Unity render invisible material?
- Physics.OverlapSphere couldn't detect my ‘Player’
- Cannot sync non-player objects in Unity mirror
- How to script a simple collision using hands in OVRCameraRigInteraction?
- Drawing on 3D object at Unity
- How to Override Spline Rotation for Player-Controlled Car in Racing Game?
- Why doesn't my enemy shield take damage first. Instead both enemy and shield are being destroyed together
- unity + Vuforia balck screen in android AR app
- how do I change an objects tag when the game closes
- How to remove white space in a user's input through an input field in Unity?
- Timeline doesn't start eventhough it recognises the trigger input
- Ragdoll 2D Aiming
Related Questions in DEEP-LINKING
- Deeplinking in .net Maui "Window was allready created"
- how to enable permission for support web address on android 12 and above
- TinyURL API Blocking URL Domain
- React Native deeplink into Android app shows warning (iOS works perfectly)
- Flutter : My deeplink is always "/" in my deeplinkBuilder of AutoRoute library
- Applinking: Google play Console Domain Ownership not verified
- Deeplink in IOS With Voyager KMP
- How to setup Expo Deep linking
- Open default phone Contacts app with Expo
- Prevent deeplinking on redirect
- Deeplinking not working for IOS app (Flutter)
- IOS Deep linking is not opening the app directly. it doesn't load or open anything in chrome
- How to use wildcards in uriPattern for jetpack compose navigation deep links?
- When using the go_router package in Flutter, is it possible to use the "extra" parameter to pass some data and have it worked with deep-linking?
- Push Notification routing using deep links in SwiftUI
Related Questions in CUSTOM-URL
- how we can add expiry to the file_url given by back4app?
- How to generate Custom Url Scheme in IONIC 5 (cordova) for android
- Deeplinks in macOS
- Creating an inline text link that will open up another view in my application
- Slack API - Link to custom URI scheme
- Custom URL For BigCartel Custom Page
- Is it possible to open Photoshop and an extension using custom url protocol?
- Problem creating a custom route in wordpress
- Flutter Web URL Navigation like http://myflutterproject/userabc
- Delete created dynamic link from firebase and create new custom URL using firebase console
- Sygic Custom URL IOS
- How to customize django-allauth urls
- Launching OSX app created with Unity from custom URL scheme
- How to check using JavaScript that custom application is installed in the system?
- Opening iOS App from Custom URL in QRCode
Related Questions in CUSTOM-SCHEME-URL
- facebook opening hybrid app in their webview
- Launching OSX app created with Unity from custom URL scheme
- canOpenURL return true and app is installed but app is not opening
- Method 'application:openURL:options:' is not called
- Send URL/link with custom scheme through WhatsApp
- WKWebView using loadHTMLString:baseURL: api, WKURLSchemeTask not working
- Does the CFBundleURLIconFile key have any purpose in iOS?
- custom url scheme not working in Android react native
- onNavigationStateChange not working in Android React Native
- Method 'scene(_:openURLContexts:)' is not called
- Are there any security issues with using Custom URL schemas as a redirect uri for a mobile app
- Same scheme url does not open the target activity when app is already running
- How does iOS choose which app to launch when a generic URL Scheme is launched?
- Can I launch my cross platform app via not http(s) URL?
- Android TextView make http and custom scheme urls clickable
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Assuming it's a web GL build, you can find info here: https://answers.unity.com/questions/1285359/how-to-read-url-parameters-from-unity-webgl-build.html
The relevant information references that it's a bit tricky, as they use a JS library to execute in the browser context and extract data as a unity library.
https://github.com/Bunny83/UnityWebExamples/blob/master/Mandelbrot/URLParameters.cs
This looks at normal browser locations, and c# accesses/properties to force the js code to execute as a unity library at runtime. For browser JS code, the URL is
window.location.hrefAnd it parses out the data from that string using JS and gives back a dictionary object to unity c# code.
(I understand linking to these might be leading to an external site for answers, but the code is a bit lengthy, and would be redundant to copy/paste other good explanations). Other mods can edit if this is unreasonable.