Scott Martin
04/15/2022, 7:35 PMinfoPlist {
extraKeysRawXml = """
| <key>CFBundleURLTypes</key>
| <array>
| <dict>
| <key>CFBundleURLName</key>
| <string>AdCentral App</string>
| <key>CFBundleURLSchemes</key>
| <array>
| <string>AdCentral</string>
| <string>ad-central</string>
| </array>
| </dict>
| </array>
|""".trimMargin()
}
Now my app will open when I trigger any url with the schema <ad-central://test>
, but I don't seem to be able to actually gain access to the URL that was used to open the app to retrieve information I'd like to pass to the app. Does anyone know how to do this, or have any places I could start to look? I'm a bit stumped.Thomas
04/15/2022, 7:37 PMScott Martin
04/15/2022, 7:39 PMDesktop.getDesktop().setOpenURIHandler
is the piece that I'm missing