Android-specific security practices
- app/build.gradle file in project release build type changes
- minify enabled property enable
- useProguard property enable
- shrink resources property enable
Keychain libraries allow you to store your sensitive data like password, id’s, card details into small chunks of information.
Deep linking is a method of sending data directly to a native application from an outside source. A deep link looks like app:// where the app is your app scheme and anything following the // could be used internally to handle the request.
To secure your API endpoints, you can turn to tools like react-native-dotenv and react-native-config. They offer a safe space to store sensitive information securely. When it comes to application secrets from external platforms like Facebook or Google, avoid embedding them in your code. Instead, consider alternatives to asynchronous storage.
TSSL pinning adds an extra layer of security by verifying the authenticity of SSL certificates during the handshake process. This safeguards against man-in-the-middle attacks and ensures secure communication. react-native-ssl-pinning is a great library that makes SSL pinning super easy to implement in React Native projects
https://www.callstack.com/blog/ssl-pinning-in-react-native-appsIt’s always considered a good practice to avoid using Deprecated libraries as they are no longer being supported, which means deprecated libraries wouldn’t be compatible with other libraries if there is any improvement or update in them. By not using deprecated libraries you make yourself feel relief for not migrating to the new version. Rather, using a better alternative version of deprecated is always a wise choice.