GSoC 2018: Week 10— Keep Me Signed-In Functionality

Gayashan Bombuwala
1 min readJul 14, 2018

--

Hi folks,

I’m back with the 10th episode of my GSoC project. It has been an amazing week for me with a lot new things and I was able to achieve the following goals, during the past week. Following is my contribution for this week.

Keep Me Signed-In Functionality

Under implementation, the following tasks were completed.

  • Configure a Key-chain service for the app.
  • Add API request response interceptors.
  • Implement Keep Me Signed-In Functionality.

To configure the Key-chain service, the react-native-keychain library was used. Using this library we can securely store usernames and passwords on both Android and iOS platforms restricting other parties from accessing them. On iOS, the default Key-chain sharing service that comes built-in will be used. On Android, one of the following two APIs will be used.

  • API level 16–22 will en/decrypt using Facebook Conceal
  • API level 23+ will en/decrypt using Android Keystore

I opened a Pull Request with the above changes, which can be viewed at https://github.com/scorelab/Bassa-mobile/pull/10.

See you next week…

Good Bye…

--

--