-
Install dependencies
npm install
-
Start the app
npx expo start --tunnel --web -c
This project uses environment variables for OAuth configuration.
- Local Development:
Create a
.envfile in the root directory (this file is git-ignored):EXPO_PUBLIC_GOOGLE_CLIENT_ID=your_google_client_id
AkashML API key is stored securely in the ICP canister
ai_api_backend— it is not needed in the build environment. To update it:dfx canister call ai_api_backend set_akash_api_key '("akml-...")' --network ic
When you're ready, run:
npm run reset-projectThis command will move the starter code to the app-example directory and create a blank app directory where you can start developing.
export $(grep -v '^#' .env | xargs) && eas build -p android --profile production --localexport $(grep -v '^#' .env | xargs) && eas build -p android --profile preview --local npm run deploy:icnpm run tauri:dev
npm run build:desktop
# Clear logcat buffer
adb logcat -c
# Monitor React Native logs for chat routing
adb logcat -s ReactNativeJS:* chromium:* | grep -E "(ChatRouter|Routing)"
# Then use the app and send messages in #tech channelExpected logs for #tech channel using AkashML via canister proxy:
[ChatRouter] 🚀 Routing to AkashML (Llama 3.3 70B)
[AkashML] Routing via ICP canister proxy - model: meta-llama/Llama-3.3-70B-Instruct
[AkashML] ✅ Canister proxy response received
Effective Date: 01/092025 Lain I/O ("we", "our", or "us") is committed to protecting your privacy. This Privacy Policy explains how Lain I/O collects, uses, and shares information when you use our mobile application ("App"), available on the Google Play Store.
We may collect the following types of information:
- Personal Information: Information you provide to us directly, such as your name, email address, or other contact details if you choose to contact us or create an account.
- Usage Data: Information about your interactions with the App, such as features used, time spent on the app, and crash reports.
- Device Information: Information about the device you use to access our App, including device model, operating system, unique device identifiers, and mobile network information.
- Location Data: (If applicable) If you allow the App to access location services, we may collect and process information about your actual location.
We use the collected information to:
- Provide and maintain the App
- Improve, personalize, and expand our App and its features
- Understand and analyze how you use our App
- Communicate with you, including responding to your comments, questions, and requests
- Send you updates, security alerts, and support messages (if applicable)
- Comply with legal requirements
We do not sell, trade, or rent your personal information to third parties. We may share information with:
- Service Providers: Third-party vendors to help us operate and maintain the App, perform App-related services, or assist us in analyzing how our App is used.
- Legal Requirements: If required by law or in response to valid requests by public authorities.
We value your trust in providing us your Personal Information, thus we strive to use commercially acceptable means of protecting it. However, please remember that no method of transmission over the internet or method of electronic storage is 100% secure.
Our App is not intended for children under the age of 13. We do not knowingly collect personal information from children under 13. If you are a parent or guardian and you are aware that your child has provided us with personal information, please contact us so we can take necessary actions.
We may update our Privacy Policy from time to time. We will notify you of any changes by posting the new Privacy Policy on this page. Updates are effective immediately after they are posted.
If you have any questions or suggestions about our Privacy Policy, do not hesitate to contact us at:
laincorp.com@gmail.com