You should be able to open your application with some metadata by using a custom protocol handler (such as my-android-app://some-url). See the Android docs for app links.
In practice this means you’ll have a return url such as my-android-app://callback/?token=<TOKEN>. As you’ll have set up your app to handle the my-android-app protocol it should automatically be opened. You can then get the token from the URI.