Skip to content

icure/icure-medtech-react-native-boilerplate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

icure-your-data-platform-for-medtech-and-ehr

iCure MedTech React Native Template

Start working on your e-health React Native app with iCure in a few minutes, by using our dedicated React Native template:

npx react-native init MedtechApp --template https://github.com/icure/icure-medtech-react-native-boilerplate

WARNING: Please note that, as iCure uses a native plugin for cryptography, it is not compatible with Expo

Once your app is created, complete the following values of the file config/constants.ts:

  • EXTERNAL_SERVICES_SPEC_ID,
  • EMAIL_AUTHENTICATION_PROCESS_ID and/or SMS_AUTHENTICATION_PROCESS_ID,
  • PARENT_ORGANISATION_ID,
  • FRIENDLY_CAPTCHA_SITE_KEY

Check out our Quick Start in order to know what are those information and how to get them from our Cockpit Portal.

WARNING: Without these information, you won't be able to complete an authentication

Requirements

Make sure the following tools are installed on your machine:

  • Yarn Package manager
  • Ruby, same version than referenced in the .ruby-version file at the root of the template.
  • XCode
  • Android Studio

Note: XCode and Android Studio are needed in order to run your app on iPhone & Android emulators

Which technologies are used ?

This React Native Template is based on the same technologies as our Petra example app. Meaning this template includes the use of:

We chosed this set of technologies, because we consider them as the most efficient ones to work with. Nonetheless, you can of course work with the technologies of your choices and still integrate the iCure MedTech Typescript SDK in your React Native app.

What includes this template ?

All the needed dependencies to work with iCure in a React Native app, including:

This template also includes the implementation of the iCure authentication flow (Both registration and login).

What's next ?

Check out our MedTech Documentation and more particularly our How To's, in order to start implementing new functionalities inside your React Native App !