Skip to Content
avatar image
Former Member

How to Disable Afaria client in Kapsel Logon plugin on Android?

I want to disable Afaria client in Kapsel Logon plugin on android instead of iOS as follows:

"The Afaria client is opening after calling sap.Logon.init(...), it can be disabled by modifying the file MAFLogonManagerOptions.plist. In Xcode this can be found under Resources > MAFLogonManagerNG.bundle > MAFLogonManagerOptions.plist. Set keyMAFUseAfaria to false."

as mentioned in Getting Started with Kapsel - Part 2 -- Logon

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • avatar image
    Former Member
    May 28, 2014 at 09:01 AM

    Also I need to disable Afaria in Logon plugin, as I get the following error while debugging the application on Android platform:

    Failed to find provider info for com.Android.provider.Afaria

    Add comment
    10|10000 characters needed characters exceeded

  • Jul 01, 2015 at 01:56 PM

    Hi Elhoussiny and others (if still watching),

    The way to disable the afaria logon component in Android is to set a key in the SharedPreference of the application like this:

    Editor pEditor = prefs.edit();
    pEditor.putBoolean(SharedPreferenceKeys.PREFERENCE_ID_USEAFARIA.toString(), false);
    pEditor.commit();
    

    I will make sure that this is documented in a KBA.

    Add comment
    10|10000 characters needed characters exceeded