7834 lines
308 KiB
Plaintext
7834 lines
308 KiB
Plaintext
=== .gitignore ===
|
||
# Logs
|
||
logs
|
||
*.log
|
||
npm-debug.log*
|
||
yarn-debug.log*
|
||
yarn-error.log*
|
||
pnpm-debug.log*
|
||
lerna-debug.log*
|
||
|
||
node_modules
|
||
dist
|
||
dist-ssr
|
||
*.local
|
||
|
||
# Editor directories and files
|
||
.vscode/*
|
||
!.vscode/extensions.json
|
||
.idea
|
||
.DS_Store
|
||
*.suo
|
||
*.ntvs*
|
||
*.njsproj
|
||
*.sln
|
||
*.sw?
|
||
|
||
|
||
=== AI_RULES.md ===
|
||
# Tech Stack
|
||
|
||
- You are building a React application.
|
||
- Use TypeScript.
|
||
- Use React Router. KEEP the routes in src/App.tsx
|
||
- Always put source code in the src folder.
|
||
- Put pages into src/pages/
|
||
- Put components into src/components/
|
||
- The main page (default page) is src/pages/Index.tsx
|
||
- UPDATE the main page to include the new components. OTHERWISE, the user can NOT see any components!
|
||
- ALWAYS try to use the shadcn/ui library.
|
||
- Tailwind CSS: always use Tailwind CSS for styling components. Utilize Tailwind classes extensively for layout, spacing, colors, and other design aspects.
|
||
|
||
Available packages and libraries:
|
||
|
||
- The lucide-react package is installed for icons.
|
||
- You ALREADY have ALL the shadcn/ui components and their dependencies installed. So you don't need to install them again.
|
||
- You have ALL the necessary Radix UI components installed.
|
||
- Use prebuilt components from the shadcn/ui library after importing them. Note that these files shouldn't be edited, so make new components if you need to change them.
|
||
|
||
|
||
=== android/.gitignore ===
|
||
# Using Android gitignore template: https://github.com/github/gitignore/blob/HEAD/Android.gitignore
|
||
|
||
# Built application files
|
||
*.apk
|
||
*.aar
|
||
*.ap_
|
||
*.aab
|
||
|
||
# Files for the ART/Dalvik VM
|
||
*.dex
|
||
|
||
# Java class files
|
||
*.class
|
||
|
||
# Generated files
|
||
bin/
|
||
gen/
|
||
out/
|
||
# Uncomment the following line in case you need and you don't have the release build type files in your app
|
||
# release/
|
||
|
||
# Gradle files
|
||
.gradle/
|
||
build/
|
||
|
||
# Local configuration file (sdk path, etc)
|
||
local.properties
|
||
|
||
# Proguard folder generated by Eclipse
|
||
proguard/
|
||
|
||
# Log Files
|
||
*.log
|
||
|
||
# Android Studio Navigation editor temp files
|
||
.navigation/
|
||
|
||
# Android Studio captures folder
|
||
captures/
|
||
|
||
# IntelliJ
|
||
*.iml
|
||
.idea/workspace.xml
|
||
.idea/tasks.xml
|
||
.idea/gradle.xml
|
||
.idea/assetWizardSettings.xml
|
||
.idea/dictionaries
|
||
.idea/libraries
|
||
# Android Studio 3 in .gitignore file.
|
||
.idea/caches
|
||
.idea/modules.xml
|
||
# Comment next line if keeping position of elements in Navigation Editor is relevant for you
|
||
.idea/navEditor.xml
|
||
|
||
# Keystore files
|
||
# Uncomment the following lines if you do not want to check your keystore files in.
|
||
#*.jks
|
||
#*.keystore
|
||
|
||
# External native build folder generated in Android Studio 2.2 and later
|
||
.externalNativeBuild
|
||
.cxx/
|
||
|
||
# Google Services (e.g. APIs or Firebase)
|
||
# google-services.json
|
||
|
||
# Freeline
|
||
freeline.py
|
||
freeline/
|
||
freeline_project_description.json
|
||
|
||
# fastlane
|
||
fastlane/report.xml
|
||
fastlane/Preview.html
|
||
fastlane/screenshots
|
||
fastlane/test_output
|
||
fastlane/readme.md
|
||
|
||
# Version control
|
||
vcs.xml
|
||
|
||
# lint
|
||
lint/intermediates/
|
||
lint/generated/
|
||
lint/outputs/
|
||
lint/tmp/
|
||
# lint/reports/
|
||
|
||
# Android Profiling
|
||
*.hprof
|
||
|
||
# Cordova plugins for Capacitor
|
||
capacitor-cordova-android-plugins
|
||
|
||
# Copied web assets
|
||
app/src/main/assets/public
|
||
|
||
# Generated Config files
|
||
app/src/main/assets/capacitor.config.json
|
||
app/src/main/assets/capacitor.plugins.json
|
||
app/src/main/res/xml/config.xml
|
||
|
||
|
||
=== android/app/.gitignore ===
|
||
/build/*
|
||
!/build/.npmkeep
|
||
|
||
|
||
=== android/app/build.gradle ===
|
||
apply plugin: 'com.android.application'
|
||
|
||
android {
|
||
namespace "com.example.[[normalizedAppName]]"
|
||
compileSdk rootProject.ext.compileSdkVersion
|
||
defaultConfig {
|
||
applicationId "com.example.[[normalizedAppName]]"
|
||
minSdkVersion rootProject.ext.minSdkVersion
|
||
targetSdkVersion rootProject.ext.targetSdkVersion
|
||
versionCode 1
|
||
versionName "1.0"
|
||
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
||
aaptOptions {
|
||
// Files and dirs to omit from the packaged assets dir, modified to accommodate modern web apps.
|
||
// Default: https://android.googlesource.com/platform/frameworks/base/+/282e181b58cf72b6ca770dc7ca5f91f135444502/tools/aapt/AaptAssets.cpp#61
|
||
ignoreAssetsPattern '!.svn:!.git:!.ds_store:!*.scc:.*:!CVS:!thumbs.db:!picasa.ini:!*~'
|
||
}
|
||
}
|
||
buildTypes {
|
||
release {
|
||
minifyEnabled false
|
||
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
|
||
}
|
||
}
|
||
}
|
||
|
||
repositories {
|
||
flatDir{
|
||
dirs '../capacitor-cordova-android-plugins/src/main/libs', 'libs'
|
||
}
|
||
}
|
||
|
||
dependencies {
|
||
implementation fileTree(include: ['*.jar'], dir: 'libs')
|
||
implementation "androidx.appcompat:appcompat:$androidxAppCompatVersion"
|
||
implementation "androidx.coordinatorlayout:coordinatorlayout:$androidxCoordinatorLayoutVersion"
|
||
implementation "androidx.core:core-splashscreen:$coreSplashScreenVersion"
|
||
implementation project(':capacitor-android')
|
||
testImplementation "junit:junit:$junitVersion"
|
||
androidTestImplementation "androidx.test.ext:junit:$androidxJunitVersion"
|
||
androidTestImplementation "androidx.test.espresso:espresso-core:$androidxEspressoCoreVersion"
|
||
implementation project(':capacitor-cordova-android-plugins')
|
||
}
|
||
|
||
apply from: 'capacitor.build.gradle'
|
||
|
||
try {
|
||
def servicesJSON = file('google-services.json')
|
||
if (servicesJSON.text) {
|
||
apply plugin: 'com.google.gms.google-services'
|
||
}
|
||
} catch(Exception e) {
|
||
logger.info("google-services.json not found, google-services plugin not applied. Push Notifications won't work")
|
||
}
|
||
|
||
|
||
=== android/app/build/.npmkeep ===
|
||
|
||
|
||
=== android/app/proguard-rules.pro ===
|
||
# Add project specific ProGuard rules here.
|
||
# You can control the set of applied configuration files using the
|
||
# proguardFiles setting in build.gradle.
|
||
#
|
||
# For more details, see
|
||
# http://developer.android.com/guide/developing/tools/proguard.html
|
||
|
||
# If your project uses WebView with JS, uncomment the following
|
||
# and specify the fully qualified class name to the JavaScript interface
|
||
# class:
|
||
#-keepclassmembers class fqcn.of.javascript.interface.for.webview {
|
||
# public *;
|
||
#}
|
||
|
||
# Uncomment this to preserve the line number information for
|
||
# debugging stack traces.
|
||
#-keepattributes SourceFile,LineNumberTable
|
||
|
||
# If you keep the line number information, uncomment this to
|
||
# hide the original source file name.
|
||
#-renamesourcefileattribute SourceFile
|
||
|
||
|
||
=== android/app/src/androidTest/java/com/getcapacitor/myapp/ExampleInstrumentedTest.java ===
|
||
package com.getcapacitor.myapp;
|
||
|
||
import static org.junit.Assert.*;
|
||
|
||
import android.content.Context;
|
||
import androidx.test.ext.junit.runners.AndroidJUnit4;
|
||
import androidx.test.platform.app.InstrumentationRegistry;
|
||
import org.junit.Test;
|
||
import org.junit.runner.RunWith;
|
||
|
||
/**
|
||
* Instrumented test, which will execute on an Android device.
|
||
*
|
||
* @see <a href="http://d.android.com/tools/testing">Testing documentation</a>
|
||
*/
|
||
@RunWith(AndroidJUnit4.class)
|
||
public class ExampleInstrumentedTest {
|
||
|
||
@Test
|
||
public void useAppContext() throws Exception {
|
||
// Context of the app under test.
|
||
Context appContext = InstrumentationRegistry.getInstrumentation().getTargetContext();
|
||
|
||
assertEquals("com.getcapacitor.app", appContext.getPackageName());
|
||
}
|
||
}
|
||
|
||
|
||
=== android/app/src/main/AndroidManifest.xml ===
|
||
<?xml version="1.0" encoding="utf-8"?>
|
||
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
|
||
|
||
<application
|
||
android:allowBackup="true"
|
||
android:icon="@mipmap/ic_launcher"
|
||
android:label="@string/app_name"
|
||
android:roundIcon="@mipmap/ic_launcher_round"
|
||
android:supportsRtl="true"
|
||
android:theme="@style/AppTheme">
|
||
|
||
<activity
|
||
android:configChanges="orientation|keyboardHidden|keyboard|screenSize|locale|smallestScreenSize|screenLayout|uiMode|navigation"
|
||
android:name=".MainActivity"
|
||
android:label="@string/title_activity_main"
|
||
android:theme="@style/AppTheme.NoActionBarLaunch"
|
||
android:launchMode="singleTask"
|
||
android:exported="true">
|
||
|
||
<intent-filter>
|
||
<action android:name="android.intent.action.MAIN" />
|
||
<category android:name="android.intent.category.LAUNCHER" />
|
||
</intent-filter>
|
||
|
||
</activity>
|
||
|
||
<provider
|
||
android:name="androidx.core.content.FileProvider"
|
||
android:authorities="${applicationId}.fileprovider"
|
||
android:exported="false"
|
||
android:grantUriPermissions="true">
|
||
<meta-data
|
||
android:name="android.support.FILE_PROVIDER_PATHS"
|
||
android:resource="@xml/file_paths"></meta-data>
|
||
</provider>
|
||
</application>
|
||
|
||
<!-- Permissions -->
|
||
|
||
<uses-permission android:name="android.permission.INTERNET" />
|
||
</manifest>
|
||
|
||
|
||
=== android/app/src/main/java/com/example/[[normalizedAppName]]/MainActivity.java ===
|
||
package com.example.[[normalizedAppName]];
|
||
|
||
import com.getcapacitor.BridgeActivity;
|
||
|
||
public class MainActivity extends BridgeActivity {}
|
||
|
||
|
||
=== android/app/src/main/res/drawable-land-hdpi/splash.png ===
|
||
[binary hash="08cc34ad7713fe7ed58bceaa37b2387b670c53cd60264b4bd6442db3098e75dc"]
|
||
|
||
=== android/app/src/main/res/drawable-land-mdpi/splash.png ===
|
||
[binary hash="5cf98b4451bd99b20df26f9e608a46946118be6b0ae90762f9ca1786a30c76ff"]
|
||
|
||
=== android/app/src/main/res/drawable-land-xhdpi/splash.png ===
|
||
[binary hash="22f87e1e3bc89aa01a7dbc39c9a4db058cd0bf4ad3fe9f55712bf69eb997f4bf"]
|
||
|
||
=== android/app/src/main/res/drawable-land-xxhdpi/splash.png ===
|
||
[binary hash="42aa26392546fcdee1b8d3ac6d4b41bfcceb41dc6a4f3a3c30c24a8a8f4db862"]
|
||
|
||
=== android/app/src/main/res/drawable-land-xxxhdpi/splash.png ===
|
||
[binary hash="60393ce8636fd263e4e1fea3fd4ab2de948c6295e898fda9b50ac4e5283be809"]
|
||
|
||
=== android/app/src/main/res/drawable-port-hdpi/splash.png ===
|
||
[binary hash="c5015f4ba3628392b538386c5e210f0b94f352a3160adab934fd0311972137ca"]
|
||
|
||
=== android/app/src/main/res/drawable-port-mdpi/splash.png ===
|
||
[binary hash="07fa579e1c83e04ba7f9cbcbfcf41b68e15fe3638f2c44a04e58b809103e6b69"]
|
||
|
||
=== android/app/src/main/res/drawable-port-xhdpi/splash.png ===
|
||
[binary hash="b73049cb37fe76d6c11b87a796766bf6af0c85483b31eb6a921657b0d764a4b9"]
|
||
|
||
=== android/app/src/main/res/drawable-port-xxhdpi/splash.png ===
|
||
[binary hash="0c7f1212f25b7b90e9a6e1d320013e4ff3d3e03e634cbb07b7b7981cac51627f"]
|
||
|
||
=== android/app/src/main/res/drawable-port-xxxhdpi/splash.png ===
|
||
[binary hash="3db071a03b2f8ffe0dfd4170fc59842d53cd15bba5e88af59401d58efabf7827"]
|
||
|
||
=== android/app/src/main/res/drawable-v24/ic_launcher_foreground.xml ===
|
||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||
xmlns:aapt="http://schemas.android.com/aapt"
|
||
android:width="108dp"
|
||
android:height="108dp"
|
||
android:viewportHeight="108"
|
||
android:viewportWidth="108">
|
||
<path
|
||
android:fillType="evenOdd"
|
||
android:pathData="M32,64C32,64 38.39,52.99 44.13,50.95C51.37,48.37 70.14,49.57 70.14,49.57L108.26,87.69L108,109.01L75.97,107.97L32,64Z"
|
||
android:strokeColor="#00000000"
|
||
android:strokeWidth="1">
|
||
<aapt:attr name="android:fillColor">
|
||
<gradient
|
||
android:endX="78.5885"
|
||
android:endY="90.9159"
|
||
android:startX="48.7653"
|
||
android:startY="61.0927"
|
||
android:type="linear">
|
||
<item
|
||
android:color="#44000000"
|
||
android:offset="0.0" />
|
||
<item
|
||
android:color="#00000000"
|
||
android:offset="1.0" />
|
||
</gradient>
|
||
</aapt:attr>
|
||
</path>
|
||
<path
|
||
android:fillColor="#FFFFFF"
|
||
android:fillType="nonZero"
|
||
android:pathData="M66.94,46.02L66.94,46.02C72.44,50.07 76,56.61 76,64L32,64C32,56.61 35.56,50.11 40.98,46.06L36.18,41.19C35.45,40.45 35.45,39.3 36.18,38.56C36.91,37.81 38.05,37.81 38.78,38.56L44.25,44.05C47.18,42.57 50.48,41.71 54,41.71C57.48,41.71 60.78,42.57 63.68,44.05L69.11,38.56C69.84,37.81 70.98,37.81 71.71,38.56C72.44,39.3 72.44,40.45 71.71,41.19L66.94,46.02ZM62.94,56.92C64.08,56.92 65,56.01 65,54.88C65,53.76 64.08,52.85 62.94,52.85C61.8,52.85 60.88,53.76 60.88,54.88C60.88,56.01 61.8,56.92 62.94,56.92ZM45.06,56.92C46.2,56.92 47.13,56.01 47.13,54.88C47.13,53.76 46.2,52.85 45.06,52.85C43.92,52.85 43,53.76 43,54.88C43,56.01 43.92,56.92 45.06,56.92Z"
|
||
android:strokeColor="#00000000"
|
||
android:strokeWidth="1" />
|
||
</vector>
|
||
|
||
|
||
=== android/app/src/main/res/drawable/ic_launcher_background.xml ===
|
||
<?xml version="1.0" encoding="utf-8"?>
|
||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||
android:width="108dp"
|
||
android:height="108dp"
|
||
android:viewportHeight="108"
|
||
android:viewportWidth="108">
|
||
<path
|
||
android:fillColor="#26A69A"
|
||
android:pathData="M0,0h108v108h-108z" />
|
||
<path
|
||
android:fillColor="#00000000"
|
||
android:pathData="M9,0L9,108"
|
||
android:strokeColor="#33FFFFFF"
|
||
android:strokeWidth="0.8" />
|
||
<path
|
||
android:fillColor="#00000000"
|
||
android:pathData="M19,0L19,108"
|
||
android:strokeColor="#33FFFFFF"
|
||
android:strokeWidth="0.8" />
|
||
<path
|
||
android:fillColor="#00000000"
|
||
android:pathData="M29,0L29,108"
|
||
android:strokeColor="#33FFFFFF"
|
||
android:strokeWidth="0.8" />
|
||
<path
|
||
android:fillColor="#00000000"
|
||
android:pathData="M39,0L39,108"
|
||
android:strokeColor="#33FFFFFF"
|
||
android:strokeWidth="0.8" />
|
||
<path
|
||
android:fillColor="#00000000"
|
||
android:pathData="M49,0L49,108"
|
||
android:strokeColor="#33FFFFFF"
|
||
android:strokeWidth="0.8" />
|
||
<path
|
||
android:fillColor="#00000000"
|
||
android:pathData="M59,0L59,108"
|
||
android:strokeColor="#33FFFFFF"
|
||
android:strokeWidth="0.8" />
|
||
<path
|
||
android:fillColor="#00000000"
|
||
android:pathData="M69,0L69,108"
|
||
android:strokeColor="#33FFFFFF"
|
||
android:strokeWidth="0.8" />
|
||
<path
|
||
android:fillColor="#00000000"
|
||
android:pathData="M79,0L79,108"
|
||
android:strokeColor="#33FFFFFF"
|
||
android:strokeWidth="0.8" />
|
||
<path
|
||
android:fillColor="#00000000"
|
||
android:pathData="M89,0L89,108"
|
||
android:strokeColor="#33FFFFFF"
|
||
android:strokeWidth="0.8" />
|
||
<path
|
||
android:fillColor="#00000000"
|
||
android:pathData="M99,0L99,108"
|
||
android:strokeColor="#33FFFFFF"
|
||
android:strokeWidth="0.8" />
|
||
<path
|
||
android:fillColor="#00000000"
|
||
android:pathData="M0,9L108,9"
|
||
android:strokeColor="#33FFFFFF"
|
||
android:strokeWidth="0.8" />
|
||
<path
|
||
android:fillColor="#00000000"
|
||
android:pathData="M0,19L108,19"
|
||
android:strokeColor="#33FFFFFF"
|
||
android:strokeWidth="0.8" />
|
||
<path
|
||
android:fillColor="#00000000"
|
||
android:pathData="M0,29L108,29"
|
||
android:strokeColor="#33FFFFFF"
|
||
android:strokeWidth="0.8" />
|
||
<path
|
||
android:fillColor="#00000000"
|
||
android:pathData="M0,39L108,39"
|
||
android:strokeColor="#33FFFFFF"
|
||
android:strokeWidth="0.8" />
|
||
<path
|
||
android:fillColor="#00000000"
|
||
android:pathData="M0,49L108,49"
|
||
android:strokeColor="#33FFFFFF"
|
||
android:strokeWidth="0.8" />
|
||
<path
|
||
android:fillColor="#00000000"
|
||
android:pathData="M0,59L108,59"
|
||
android:strokeColor="#33FFFFFF"
|
||
android:strokeWidth="0.8" />
|
||
<path
|
||
android:fillColor="#00000000"
|
||
android:pathData="M0,69L108,69"
|
||
android:strokeColor="#33FFFFFF"
|
||
android:strokeWidth="0.8" />
|
||
<path
|
||
android:fillColor="#00000000"
|
||
android:pathData="M0,79L108,79"
|
||
android:strokeColor="#33FFFFFF"
|
||
android:strokeWidth="0.8" />
|
||
<path
|
||
android:fillColor="#00000000"
|
||
android:pathData="M0,89L108,89"
|
||
android:strokeColor="#33FFFFFF"
|
||
android:strokeWidth="0.8" />
|
||
<path
|
||
android:fillColor="#00000000"
|
||
android:pathData="M0,99L108,99"
|
||
android:strokeColor="#33FFFFFF"
|
||
android:strokeWidth="0.8" />
|
||
<path
|
||
android:fillColor="#00000000"
|
||
android:pathData="M19,29L89,29"
|
||
android:strokeColor="#33FFFFFF"
|
||
android:strokeWidth="0.8" />
|
||
<path
|
||
android:fillColor="#00000000"
|
||
android:pathData="M19,39L89,39"
|
||
android:strokeColor="#33FFFFFF"
|
||
android:strokeWidth="0.8" />
|
||
<path
|
||
android:fillColor="#00000000"
|
||
android:pathData="M19,49L89,49"
|
||
android:strokeColor="#33FFFFFF"
|
||
android:strokeWidth="0.8" />
|
||
<path
|
||
android:fillColor="#00000000"
|
||
android:pathData="M19,59L89,59"
|
||
android:strokeColor="#33FFFFFF"
|
||
android:strokeWidth="0.8" />
|
||
<path
|
||
android:fillColor="#00000000"
|
||
android:pathData="M19,69L89,69"
|
||
android:strokeColor="#33FFFFFF"
|
||
android:strokeWidth="0.8" />
|
||
<path
|
||
android:fillColor="#00000000"
|
||
android:pathData="M19,79L89,79"
|
||
android:strokeColor="#33FFFFFF"
|
||
android:strokeWidth="0.8" />
|
||
<path
|
||
android:fillColor="#00000000"
|
||
android:pathData="M29,19L29,89"
|
||
android:strokeColor="#33FFFFFF"
|
||
android:strokeWidth="0.8" />
|
||
<path
|
||
android:fillColor="#00000000"
|
||
android:pathData="M39,19L39,89"
|
||
android:strokeColor="#33FFFFFF"
|
||
android:strokeWidth="0.8" />
|
||
<path
|
||
android:fillColor="#00000000"
|
||
android:pathData="M49,19L49,89"
|
||
android:strokeColor="#33FFFFFF"
|
||
android:strokeWidth="0.8" />
|
||
<path
|
||
android:fillColor="#00000000"
|
||
android:pathData="M59,19L59,89"
|
||
android:strokeColor="#33FFFFFF"
|
||
android:strokeWidth="0.8" />
|
||
<path
|
||
android:fillColor="#00000000"
|
||
android:pathData="M69,19L69,89"
|
||
android:strokeColor="#33FFFFFF"
|
||
android:strokeWidth="0.8" />
|
||
<path
|
||
android:fillColor="#00000000"
|
||
android:pathData="M79,19L79,89"
|
||
android:strokeColor="#33FFFFFF"
|
||
android:strokeWidth="0.8" />
|
||
</vector>
|
||
|
||
|
||
=== android/app/src/main/res/drawable/splash.png ===
|
||
[binary hash="5cf98b4451bd99b20df26f9e608a46946118be6b0ae90762f9ca1786a30c76ff"]
|
||
|
||
=== android/app/src/main/res/layout/activity_main.xml ===
|
||
<?xml version="1.0" encoding="utf-8"?>
|
||
<androidx.coordinatorlayout.widget.CoordinatorLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||
xmlns:tools="http://schemas.android.com/tools"
|
||
android:layout_width="match_parent"
|
||
android:layout_height="match_parent"
|
||
tools:context=".MainActivity">
|
||
|
||
<WebView
|
||
android:layout_width="match_parent"
|
||
android:layout_height="match_parent" />
|
||
</androidx.coordinatorlayout.widget.CoordinatorLayout>
|
||
|
||
|
||
=== android/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml ===
|
||
<?xml version="1.0" encoding="utf-8"?>
|
||
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
|
||
<background android:drawable="@color/ic_launcher_background"/>
|
||
<foreground android:drawable="@mipmap/ic_launcher_foreground"/>
|
||
</adaptive-icon>
|
||
|
||
=== android/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml ===
|
||
<?xml version="1.0" encoding="utf-8"?>
|
||
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
|
||
<background android:drawable="@color/ic_launcher_background"/>
|
||
<foreground android:drawable="@mipmap/ic_launcher_foreground"/>
|
||
</adaptive-icon>
|
||
|
||
=== android/app/src/main/res/mipmap-hdpi/ic_launcher_foreground.png ===
|
||
[binary hash="32baa10d2632a4417454a579f992bd640e0a3cec79321423559b2c9940de58a9"]
|
||
|
||
=== android/app/src/main/res/mipmap-hdpi/ic_launcher_round.png ===
|
||
[binary hash="bfcc1b0fa931b14bb241372c76ab4f04374b67d02363c98d9cb12edfdacdf5f3"]
|
||
|
||
=== android/app/src/main/res/mipmap-hdpi/ic_launcher.png ===
|
||
[binary hash="72b71c3581ca3b5a23b1c168d69b9d855b3f184fa079902a01f088eb4f0607d5"]
|
||
|
||
=== android/app/src/main/res/mipmap-mdpi/ic_launcher_foreground.png ===
|
||
[binary hash="58e78a618778926b1f6d9472a6468de878de8530970934e94aab5ba4ba08cc00"]
|
||
|
||
=== android/app/src/main/res/mipmap-mdpi/ic_launcher_round.png ===
|
||
[binary hash="0166fc333074c373fbd0ce6b5defd71552166165ac778121ca9c9dff6b83f0fc"]
|
||
|
||
=== android/app/src/main/res/mipmap-mdpi/ic_launcher.png ===
|
||
[binary hash="27ed3603010ebc278f64f8645741ab132ff517abb5308eb9df6c8e42a48956b2"]
|
||
|
||
=== android/app/src/main/res/mipmap-xhdpi/ic_launcher_foreground.png ===
|
||
[binary hash="6f88083b8166cc559102f7044688de7525287632ebe09ac45d001ac8bf4b3eae"]
|
||
|
||
=== android/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png ===
|
||
[binary hash="40911a00922868686854a4804b93fd6e56b503664696de03f450bff690affb6d"]
|
||
|
||
=== android/app/src/main/res/mipmap-xhdpi/ic_launcher.png ===
|
||
[binary hash="d35dbfff175b83c13ef59cf924abfc810f7b6a158595d7417c5498ea8c7c7ed1"]
|
||
|
||
=== android/app/src/main/res/mipmap-xxhdpi/ic_launcher_foreground.png ===
|
||
[binary hash="4a82bc1e9923576275869998925ce0ae021a79aa18b24a0dd87ad6b61ca85053"]
|
||
|
||
=== android/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png ===
|
||
[binary hash="1ee4cd9ff371dcb2e3938097e434f6fb8731688ed7165e61fc63693ad5b2f455"]
|
||
|
||
=== android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png ===
|
||
[binary hash="ed346eb1e3f0280f15709393705899b3ff55c20b88f4e0308006b3c33cf5fe14"]
|
||
|
||
=== android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_foreground.png ===
|
||
[binary hash="bd24fd383253bf8d43f0a81f11c071d76d1d555114376dd647cd9fb38fa0a9da"]
|
||
|
||
=== android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png ===
|
||
[binary hash="ab93096331e7cd8ec379f73f1e9adcaaa9ee1115c9f4ff10411a811fb9700174"]
|
||
|
||
=== android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png ===
|
||
[binary hash="87cb2f2ffe992652bb4fa768c73719a37b5852ab17fbf8e170e888f7a42b0761"]
|
||
|
||
=== android/app/src/main/res/values/ic_launcher_background.xml ===
|
||
<?xml version="1.0" encoding="utf-8"?>
|
||
<resources>
|
||
<color name="ic_launcher_background">#FFFFFF</color>
|
||
</resources>
|
||
|
||
=== android/app/src/main/res/values/strings.xml ===
|
||
<?xml version='1.0' encoding='utf-8'?>
|
||
<resources>
|
||
<string name="app_name">[[appName]]</string>
|
||
<string name="title_activity_main">[[appName]]</string>
|
||
<string name="package_name">com.example.[[normalizedAppName]]</string>
|
||
<string name="custom_url_scheme">com.example.[[normalizedAppName]]</string>
|
||
</resources>
|
||
|
||
|
||
=== android/app/src/main/res/values/styles.xml ===
|
||
<?xml version="1.0" encoding="utf-8"?>
|
||
<resources>
|
||
|
||
<!-- Base application theme. -->
|
||
<style name="AppTheme" parent="Theme.AppCompat.Light.DarkActionBar">
|
||
<!-- Customize your theme here. -->
|
||
<item name="colorPrimary">@color/colorPrimary</item>
|
||
<item name="colorPrimaryDark">@color/colorPrimaryDark</item>
|
||
<item name="colorAccent">@color/colorAccent</item>
|
||
</style>
|
||
|
||
<style name="AppTheme.NoActionBar" parent="Theme.AppCompat.DayNight.NoActionBar">
|
||
<item name="windowActionBar">false</item>
|
||
<item name="windowNoTitle">true</item>
|
||
<item name="android:background">@null</item>
|
||
</style>
|
||
|
||
|
||
<style name="AppTheme.NoActionBarLaunch" parent="Theme.SplashScreen">
|
||
<item name="android:background">@drawable/splash</item>
|
||
</style>
|
||
</resources>
|
||
|
||
=== android/app/src/main/res/xml/file_paths.xml ===
|
||
<?xml version="1.0" encoding="utf-8"?>
|
||
<paths xmlns:android="http://schemas.android.com/apk/res/android">
|
||
<external-path name="my_images" path="." />
|
||
<cache-path name="my_cache_images" path="." />
|
||
</paths>
|
||
|
||
=== android/app/src/test/java/com/getcapacitor/myapp/ExampleUnitTest.java ===
|
||
package com.getcapacitor.myapp;
|
||
|
||
import static org.junit.Assert.*;
|
||
|
||
import org.junit.Test;
|
||
|
||
/**
|
||
* Example local unit test, which will execute on the development machine (host).
|
||
*
|
||
* @see <a href="http://d.android.com/tools/testing">Testing documentation</a>
|
||
*/
|
||
public class ExampleUnitTest {
|
||
|
||
@Test
|
||
public void addition_isCorrect() throws Exception {
|
||
assertEquals(4, 2 + 2);
|
||
}
|
||
}
|
||
|
||
|
||
=== android/build.gradle ===
|
||
// Top-level build file where you can add configuration options common to all sub-projects/modules.
|
||
|
||
buildscript {
|
||
|
||
repositories {
|
||
google()
|
||
mavenCentral()
|
||
}
|
||
dependencies {
|
||
classpath 'com.android.tools.build:gradle:8.7.2'
|
||
classpath 'com.google.gms:google-services:4.4.2'
|
||
|
||
// NOTE: Do not place your application dependencies here; they belong
|
||
// in the individual module build.gradle files
|
||
}
|
||
}
|
||
|
||
apply from: "variables.gradle"
|
||
|
||
allprojects {
|
||
repositories {
|
||
google()
|
||
mavenCentral()
|
||
}
|
||
}
|
||
|
||
task clean(type: Delete) {
|
||
delete rootProject.buildDir
|
||
}
|
||
|
||
|
||
=== android/gradle.properties ===
|
||
# Project-wide Gradle settings.
|
||
|
||
# IDE (e.g. Android Studio) users:
|
||
# Gradle settings configured through the IDE *will override*
|
||
# any settings specified in this file.
|
||
|
||
# For more details on how to configure your build environment visit
|
||
# http://www.gradle.org/docs/current/userguide/build_environment.html
|
||
|
||
# Specifies the JVM arguments used for the daemon process.
|
||
# The setting is particularly useful for tweaking memory settings.
|
||
org.gradle.jvmargs=-Xmx1536m
|
||
|
||
# When configured, Gradle will run in incubating parallel mode.
|
||
# This option should only be used with decoupled projects. More details, visit
|
||
# http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
|
||
# org.gradle.parallel=true
|
||
|
||
# AndroidX package structure to make it clearer which packages are bundled with the
|
||
# Android operating system, and which are packaged with your app's APK
|
||
# https://developer.android.com/topic/libraries/support-library/androidx-rn
|
||
android.useAndroidX=true
|
||
|
||
|
||
=== android/gradle/wrapper/gradle-wrapper.jar ===
|
||
PK |