MOB-23 setup for post request done, parameter viewModel added

This commit is contained in:
Henrik Lepson
2021-11-08 19:07:30 +02:00
parent 4252e3e637
commit 1b79eba4a4
9 changed files with 123 additions and 29 deletions

View File

@@ -44,8 +44,10 @@ class MainActivity : AppCompatActivity() {
private fun launchAuth(arg: String = "nothing") {
val launchIntent = Intent()
launchIntent.setClassName("com.tarkvaraprojekt.mobileauthapp", "com.tarkvaraprojekt.mobileauthapp.MainActivity")
launchIntent.putExtra("auth", true)
launchIntent.putExtra("nonce", arg) // Currently nothing
launchIntent.putExtra("action", "auth")
launchIntent.putExtra("challenge", "challengerValue")
launchIntent.putExtra("authUrl", "authUrl is here")
launchIntent.putExtra("mobile", true)
authLauncher.launch(launchIntent)
}