While working Paypal Android Sdk 2.3.5v, in an app. I’ve come across a situation, that app should log out from Paypal screens, after payment is done and return to app screens.
Here is the code snippet to implement that feature
private static PayPalConfiguration config = new PayPalConfiguration() .environment(CONFIG_ENVIRONMENT) .clientId(CONFIG_CLIENT_ID) .rememberUser(false)
in this above code boolean value for rememberUser(boolean) method of PayPalConfiguration object will make turn On/Off for Auto logout feature.
here is ref link
Hope it helps somebody :).