Lets-code-with-us / scamwebsiteV1

Scam Alert is an open-source platform where users can share and alert others about new types of scams. The goal is to create a community-driven space to identify and report various scam attempts, helping to protect people from fraud.
https://scamwebsite-v1.vercel.app/
12 stars 45 forks source link

Add capacitor into the script #99

Open Shivansh-22866 opened 1 month ago

Shivansh-22866 commented 1 month ago

Fixes #64

The capacitor config has been added to the project. It uses dist/server/app for rendering capacitor apps.

To create the apps in android and ios, do the following: Make sure that build file is created successfully.

npm run build

Then run the following commands: npx cap add android npx cap add ios

This creates the native apps in their respective folders

Sync the apps with the changes in web using: npx cap sync

Shu12388y commented 1 month ago

@Shivansh-22866 Share the screenshot of android app build

Shivansh-22866 commented 1 month ago

Here is the folder structure of the android build Screenshot_20241018_181026 And here is the screenshot of the android on the emulator Screenshot_20241018_180901_scam-website-v2

Shu12388y commented 1 month ago

@Shivansh-22866 The nav bar is not rendering properly. Check it out