-
Notifications
You must be signed in to change notification settings - Fork 392
Description
We are facing one issue with the salesforce connected android application
steps are as followed
1:- Launch the application.
2: - Login into the application.
3: - Application ask for set passcode and finger print.
4: - Kill the application and relaunch the application.
5: - Skip the finger print authentication and move the application in background.
6: - Trying launching the application by clicking on the app icon.
7: - App doesn't ask for finger print scan and get into to dashboard screen of the application.
Expected behavior: -after point 6 it should ask for the finger print scan and then navigate user to the dashboard
override fun onCreate(savedInstanceState: Bundle?) {
window.requestFeature(Window.FEATURE_ACTION_BAR)
supportActionBar?.hide()
super.onCreate(savedInstanceState)
findViewById<Toolbar>(R.id.toolbar)?.run {
setNavigationIcon(R.drawable.ic_login_back)
setNavigationOnClickListener {
backToLauncher()
}
}
webView = findViewById(R.id.sf__oauth_webview)
// textZoom should be set to 100 to prevent font scale as per system font
webView.settings.textZoom = 100
webView.setBackgroundColor(Color.parseColor("#FF025289"))
webView.setLayerType(WebView.LAYER_TYPE_SOFTWARE, null)
viewNoInternet = findViewById(R.id.vwNoInternet)
viewNoInternet.findViewById<Button>(R.id.btnCancel).setOnClickListener {
backToLauncher()
}
updateNoInternetVisibility()
}
override fun onResume() {
super.onResume()
window.run {
val isLight = resources.getBoolean(R.bool.isLightMode)
val barColor =
ContextCompat.getColor(context, R.color.surface_color)
WindowInsetsControllerCompat(this, decorView).run {
isAppearanceLightStatusBars = isLight
isAppearanceLightNavigationBars = isLight
}
statusBarColor = barColor
navigationBarColor = barColor
}
}
Seems like a salesforce SDK security bug looking for the urgent help
the application is working as expected if we try the same pattern of authentication as stated above after 15 min