To start, run the following command in the root directory:
npm install
In the src/constants
directory, create a file named index.tsx
. Inside this file, define the following constants:
export const API_KEY = 'YOUR_API_KEY_HERE';
export const PROJECT_ID = 'YOUR_PROJECT_ID_HERE';
export const GeminiKey = 'YOUR_GEMINI_KEY_HERE';
After setting the constants, you can use them in your project for API calls or any other configurations.
Once the dependencies are installed, you can run the following command to start the application:
npm start
//or
npx react-native start
After the Metro bundler starts, use the following commands:
- To build for Android: Press 'a'
- To build for iOS: Press 'i'
Please replace the placeholder strings in the constants with your actual API keys and project ID.