Thanks for purchasing Medical App.
Please read the documentation carefully, and if you have any questions, please feel free to contact us. Most pages are accompanied by a video tutorial, it's recommended to check both, the video and the written Documentation.
To start and run the application, you need to install VsCode according to your platform Operating System (Windows, macOS and Linux).
Visual Studio Code is a lightweight but powerful source code editor which runs on your desktop and is available for Windows, macOS and Linux. It comes with built-in support for JavaScript, TypeScript and Node.js and has a rich ecosystem of extensions for other languages and runtimes (such as React-Native, ReactJS C++, C#, Java, Python, PHP, Go, .NET). Begin your journey with VS Code
In order to start configuration, you need to install Node js version (Node 16 or newer) and NPM in your system. You can download the Node js and NPM from here Node and NPM
In order to start configuration of React-Native, you need to have high system configuration which requires minimum 8gb RAM and 1TB Storage or 256 SSD.
To run the Medical App you need to configure React Native version 0.72.5. You can check the official React Native Documentation also to confgiure React Native version 0.72.5. React Native
In this section, we’ll guide you through the process of installing React Native on a Windows machine.
To publish and install packages to and from the public npm registry or a private npm registry, you must install Node.js and the npm command line interface using either a Node version manager or a Node installer. We strongly recommend using a Node version manager like nvm to install Node.js and npm. We do not recommend using a Node installer, since the Node installation process installs npm in a directory with local permissions and can cause permissions errors when you run npm packages globally.
Follow these steps to get started:
Before installing npm, you need to have Node.js installed on your system.
After the installation is complete, you can verify that Node.js and npm are installed by opening a command prompt and running the following commands:
These commands should display the version numbers for Node.js and npm, respectively.
In the Medical App we are using Node version v20.5.1Now, You will need Node, the React Native command line interface, a JDK, and Android Studio & It is recommended to use an LTS version of Node.
While you can use any editor of your choice to develop your app, you will need to install Android Studio in order to set up the necessary tooling to build your React Native app for Android.
We recommend installing Node via Chocolatey, a popular package manager for Windows.
React Native also requires Java SE Development Kit (JDK), which can be installed using Chocolatey as well.
For the Medical App you need to install JDK version 11
Now, To install node lts and JDK 11 you can run the follow below steps as well :
Open an Administrator Command Prompt (go to the global search of your machine and search command prompt then right click to Command Prompt and select "Run as Administrator"), then run the following command:
choco install -y nodejs-lts microsoft-openjdk11Setting up your development environment can be somewhat tedious if you're new to Android development. If you're already familiar with Android development, there are a few things you may need to configure. In either case, please make sure to carefully follow the next few steps.
Download and install Android Studio.While on Android Studio installation wizard, make sure the boxes next to all of the following items are checked:
Then, click "Next" to install all of these components.
Once setup has finalized and you're presented with the Welcome screen, proceed to the next step.
Android Studio installs the latest Android SDK by default. Building a React Native app with native code, however, requires the Android 13 (Tiramisu) SDK in particular. Additional Android SDKs can be installed through the SDK Manager in Android Studio.
To do that, open Android Studio, click on "More Actions" button and select "SDK Manager".
The SDK Manager you can found within the Android Studio. Right click on More Actions options and choose SDK Manager option to reach on SDK Manager Screen.
Select the "SDK Platforms" tab from within the SDK Manager, then check the box next to "Show Package Details" in the bottom right corner. Look for and expand the Android 13 (Tiramisu) entry, then make sure the following items are checked:
Next, select the "SDK Tools" tab and check the box next to "Show Package Details" here as well. Look for and expand the Android SDK Build-Tools entry, then make sure that 33.0.0 is selected.
Finally, click "Apply" to download and install the Android SDK and related build tools.
The React Native tools require some environment variables to be set up in order to build apps with native code.
The SDK is installed, by default, at the following location:
%LOCALAPPDATA%\Android\Sdk
You can find the actual location of the SDK in the Android Studio "Settings" dialog, under Languages & Frameworks → Android SDK.
Open a new Command Prompt window to ensure the new environment variable is loaded before proceeding to the next step.
The default location for this folder is:
%LOCALAPPDATA%\Android\Sdk\platform-tools
You can also watch the video given below to setup react native environment on your windows machine:
In this section, we’ll guide you through the process of React Native configuration on a macOS machine.
As with the Windows installation process, you need to have Node.js and npm (Node Package Manager) installed on your macOS system as well. If you haven’t already installed them, follow these steps
Visit the Node.js download page
Once downloaded, click the .pkg file in your Downloads folder to run the installer
Follow the instructions that appear on your screen, including accepting the License Agreement, selecting the target destination for the installed files, and selecting the installation type.
After the installation is complete, you can verify that Node.js and npm are installed by opening a terminal and running the following commands:After the installation is complete, you can verify that Node.js and npm are installed by opening a command prompt and running the following commands:
These commands should display the version numbers for Node.js and npm, respectively
Alternatively, you can install Node.js and npm via the command line. To do this, open Terminal then input:
Wait for the installation to complete then verify its installation in the same way as above, by entering:
These commands should display the version numbers for Node.js and npm, respectively.
You will need Node, Watchman, the React Native command line interface, a JDK, and Android Studio.
While you can use any editor of your choice to develop your app, you will need to install Android Studio in order to set up the necessary tooling to build your React Native app for Android.
We recommend installing Node and Watchman usingHomebrew.Run the following commands in a Terminal after installing Homebrew:
brew install node
brew install watchman
If you have already installed Node on your system, make sure it is Node 16 or newer.
Watchmanis a tool by Facebook for watching changes in the filesystem. It is highly recommended you install it for better performance.
We recommend installing the OpenJDK distribution called Azul Zulu usingHomebrew. Run the following commands in a Terminal after installing Homebrew:
After you install the JDK, update your JAVA_HOME environment variable. If you used above steps, JDK will likely be at /Library/Java/JavaVirtualMachines/zulu-11.jdk/Contents/Home
The Zulu OpenJDK distribution offers JDKs for both Intel and M1 Macs. This will make sure your builds are faster on M1 Macs compared to using an Intel-based JDK.
If you have already installed JDK on your system, we recommend JDK 11. You may encounter problems using higher JDK versions.
Setting up your development environment can be somewhat tedious if you're new to Android development. If you're already familiar with Android development, there are a few things you may need to configure. In either case, please make sure to carefully follow the next few steps.
Download and install Android Studio. While on Android Studio installation wizard, make sure the boxes next to all of the following items are checked:
Then, click "Next" to install all of these components.
Once setup has finalized and you're presented with the Welcome screen, proceed to the next step.
Android Studio installs the latest Android SDK by default. Building a React Native app with native code, however, requires the Android 13 (Tiramisu) SDK in particular. Additional Android SDKs can be installed through the SDK Manager in Android Studio.
To do that, open Android Studio, click on "More Actions" button and select "SDK Manager".
The SDK Manager you can found within the Android Studio. Right click on More Actions options and choose SDK Manager option to reach on SDK Manager Screen.
Select the "SDK Platforms" tab from within the SDK Manager, then check the box next to "Show Package Details" in the bottom right corner. Look for and expand the Android 13 (Tiramisu) entry, then make sure the following items are checked:
Next, select the "SDK Tools" tab and check the box next to "Show Package Details" here as well. Look for and expand the Android SDK Build-Tools entry, then make sure that 33.0.0 is selected.
Finally, click "Apply" to download and install the Android SDK and related build tools.
The React Native tools require some environment variables to be set up in order to build apps with native code.
To set ANDROID_HOME environment variale run the following command in command prompt~/.zprofile or ~/.zshrc (if you are using bash, then ~/.bash_profile or ~/.bashrc) config file:
Add the lines given below to ~/.zprofile or ~/.zshrc (if you are using bash, then ~/.bash_profile or ~/.bashrc)
Now, Run source ~/.zprofile (or source ~/.bash_profile for bash) to load the config into your current shell. Verify that ANDROID_HOME has been set by running echo $ANDROID_HOME and the appropriate directories have been added to your path by running echo $PATH.
Please make sure you use the correct Android SDK path. You can find the actual location of the SDK in the Android Studio "Settings" dialog, under Languages & Frameworks → Android SDK.
You can also watch the video given below to setup react native environment on your macOS machine:
In this section, we’ll guide you through the process of React Native configuration on a Linux machine.
Follow these steps to get started:
If you have a Linux-based system, you’ll want to follow this set of steps to install React Native:
After the installation is complete, you can verify that Node.js and npm are installed by opening a command prompt and running the following commands:
These commands should display the version numbers for Node.js and npm, respectively.
You will need Node, Watchman, the React Native command line interface, a JDK, and Android Studio.
While you can use any editor of your choice to develop your app, you will need to install Android Studio in order to set up the necessary tooling to build your React Native app for Android.
Follow theinstallation instructions for your Linux distributionto install Node 16 or newer.
React Native currently recommends version 11 of the Java SE Development Kit (JDK). You may encounter problems using higher JDK versions. You may download and installOpenJDKfrom AdoptOpenJDK or your system packager.
Setting up your development environment can be somewhat tedious if you're new to Android development. If you're already familiar with Android development, there are a few things you may need to configure. In either case, please make sure to carefully follow the next few steps.
Download and install Android Studio. While on Android Studio installation wizard, make sure the boxes next to all of the following items are checked:
Then, click "Next" to install all of these components.
Once setup has finalized and you're presented with the Welcome screen, proceed to the next step.
Android Studio installs the latest Android SDK by default. Building a React Native app with native code, however, requires the Android 13 (Tiramisu) SDK in particular. Additional Android SDKs can be installed through the SDK Manager in Android Studio.
To do that, open Android Studio, click on "More Actions" button and select "SDK Manager".
The SDK Manager can also be found within the Android Studio "Settings" dialog, under Languages & Frameworks → Android SDK.
Select the "SDK Platforms" tab from within the SDK Manager, then check the box next to "Show Package Details" in the bottom right corner. Look for and expand the Android 13 (Tiramisu) entry, then make sure the following items are checked:
Next, select the "SDK Tools" tab and check the box next to "Show Package Details" here as well. Look for and expand the Android SDK Build-Tools entry, then make sure that 33.0.0 is selected.
Finally, click "Apply" to download and install the Android SDK and related build tools.
The React Native tools require some environment variables to be set up in order to build apps with native code.
Add the following lines to your $HOME/.bash_profile or $HOME/.bashrc (if you are using zsh then ~/.zprofile or ~/.zshrc) config file:
.bash_profile is specific to bash. If you're using another shell, you will need to edit the appropriate shell-specific config file.
Type source $HOME/.bash_profile for bash or source $HOME/.zprofile to load the config into your current shell. Verify that ANDROID_HOME has been set by running echo $ANDROID_HOME and the appropriate directories have been added to your path by running echo $PATH.
Please make sure you use the correct Android SDK path. You can find the actual location of the SDK in the Android Studio "Settings" dialog, under Languages & Frameworks → Android SDK.
Follow theWatchman installation guide to compile and install Watchman from source.
Watchmanis a tool by Facebook for watching changes in the filesystem. It is highly recommended you install it for better performance and increased compatibility in certain edge cases (translation: you may be able to get by without installing this, but your mileage may vary; installing this now may save you from a headache later).
You can also watch the video given below to setup react native environment on your Linux machine:
Now if you complete the above steps & successfully added path variable then download the zip file of the Medical App. To run the Medical App you need to follow steps below :
After successfully run the application, it will start into the emulator which you have selected.
Above illustration demonstrates the login page in IOS and Android of the Medical App.
Congratulations! You have successfully run Medical App on your machine.
Now you can use the application or if you want to change or build new user interfaces of Medical App with React Native you can make changes into the code that will show you into the app.
Above illustration demonstrates the Home Page of the Medical App in IOS and ANDROID.
When working with JSX in React Native, ensure that you're using valid JSX syntax, including properly closed tags and correct attribute usage.
Metro is the JavaScript bundler used in React Native. Errors related to Metro bundler can occur due to issues with the bundling process, such as syntax errors, module resolution problems, or conflicts between dependencies.
Errors related to building the Android or iOS version of the app can occur due to issues with configuration, missing dependencies, or conflicts between different versions of libraries.
These errors occur when the required module or component cannot be found. It can be due to incorrect import paths, missing dependencies, or misconfiguration in the project setup.
Developers may encounter errors related to Xcode or Android Studio configurations, such as invalid provisioning profiles, signing certificate issues, or incorrect SDK versions.
React Native projects often rely on multiple dependencies, and conflicts between different versions of these dependencies can lead to runtime errors or unexpected behavior.
Errors related to network requests, such as timeouts, connection failures, or incorrect API responses, are common in React Native apps that communicate with remote servers.
React Native apps may behave differently on various devices and operating system versions, leading to compatibility issues that need to be addressed through testing and device-specific adjustments.
Forgetting to close brackets or parentheses can lead to syntax errors. Make sure that all opening brackets or parentheses have corresponding closing ones.
And For More information go to the Medical App folder open the README.md file and Read more information to these application.