# GetURLSchemeText

## Description

On Android and iOS this returns the full URL that was used to open this app if a URL scheme was used. For example if you have set the URL scheme "myapp" for this app and the user clicks on a link such as "myapp: sometext", then the OS will open your app and GetURLSchemeText will return "myapp: sometext" until the app is next opened. If a URL was not used to open the app, or the platform doesn't support URL schemes, then an empty string will be returned.
When choosing a URL scheme you must make sure it is unique to your app, as iOS will not allow two apps to have the same scheme.

## Definition

string GetURLSchemeText()

char* agk::GetURLSchemeText()