-1

I already implemented the facebook accountKit in my android application. They have nice documentation in their official page. That's link is here for documentation and here is sample code. currently i am fetching some issue. Those are given bellow:

  1. Change UI from facebook webpanel: I already customized the apps UI from web panel. But this design is not affected in my application. My application is in development mode.
  2. Change SMS message body: Currently in SMS body is like:

USE 123456 as your login code for SOME_APPS [DEV MODE]. (Account Kit by Facebook)

But why this message "DEV MODE" word? When and how it will reduce? Some notes:

  1. Currently i am in development mode. So may be it will resolved when i release this apps. But how i add [RELEASE MODE] for accountKit project?

Thanks in advance.

Md. Sajedul Karim
  • 6,749
  • 3
  • 61
  • 87

2 Answers2

1
  1. It sounds like you are following the web customization on the developer portal. To customize the UI for Android, you'll need to follow these docs: https://developers.facebook.com/docs/accountkit/android/customizing

  2. The [DEV MODE] will be removed once your app is no longer in development mode.

ethangk
  • 86
  • 2
0

For the colors: you change the colors in the style Account kit had you add in the setup process. So it will look something like this:

<style name="AppLoginTheme" parent="Theme.AccountKit">
    <item name="android:windowNoTitle">true</item>
    <item name="com_accountkit_background_color">@color/white</item>
    <item name="com_accountkit_button_background_color">@color/acct_kit_blue</item>
    <item name="com_accountkit_button_border_color">@color/acct_kit_transparent_color_off</item>
    <item name="com_accountkit_button_text_color">@color/white</item>
    <item name="com_accountkit_input_background_color">@color/acct_kit_light_grey</item>
    <item name="com_accountkit_input_border_color">@color/acct_kit_transparent_color_off</item>
    <item name="com_accountkit_input_text_color">@color/acct_kit_grey</item>
    <item name="com_accountkit_primary_text_color">@color/acct_kit_grey</item>
</style>
Anna Harrison
  • 641
  • 5
  • 13