Securing React Native Application


Key Points -

  • Screenshot Prevention
  • Rooted/ Jailbroken Device Detection
  • SSL Pinning
  • Storage of Sensitive Data — API EndPoint / FB / Google / Firebase Keys
  • Local Storage
  • Deep Linking
  • Android Specific Security
  • iOS Specific Security
  • Authentication Methods
  • Data Encryption

1. Screenshot Prevention

2. Rooted/ Jailbroken Device Detection

  • Check if Cydia is installed
  • Check if the app can edit system files
  • Check if the system contains suspicious files
  • Check if other suspicious apps (FakeCarrier, Icy, etc.) is installed
  • Check if Cydia is installed with alternative names (using URIScheme)
  • checkRootManagementApps
  • checkPotentiallyDangerousApps
  • checkRootCloakingApps
  • checkTestKeys
  • checkForDangerousProps
  • checkForBusyBoxBinary
  • checkForSuBinary
  • checkSuExists
  • checkForRWSystem

3. SSL Pinning

  • Public Key Pinning
  • Certificate Pinning
  • Subject Public Key Info (SPKI) Pinning

Certificate Pinning With react-native-ssl-pinning -

Public Key Pinning With react-native-ssl-pinning -

Certificate Pinning With react-native-pinch -

4. Storage of Sensitive Data — API EndPoint / FB / Google / Firebase Keys

5. Local Storage

6. Deep Linking

Security issues while dealing with deep linking -

Security solutions to overcome deep linking security issue -

7. Android Specific Security

8. iOS Specific Security

9. Authentication Methods

10. Data Encryption

What Next?




Founder & CEO at KPITENG

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Starter Algorithms — Reverse a String

Data extraction from XML using Cloudant database view and expose it as a service

Routing in React

Redux + (RxKotlin | RxSwift) == Awesome Native Mobile Apps — Router — Part 6

Getting Started with Redux

Learn to build a game with Phaser in five minutes

Frontend Developers Love and Vue.Js Amsterdam

React Hook “Gotcha’s”

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store


Founder & CEO at KPITENG

More from Medium

Selecting State Management Tools For React Native Applications

How I Implemented Push Notifications Into My React Native App.

Mastering React Native

How To Add Android Push Notifications to a React Native Expo App