├── .editorconfig ├── .eslintignore ├── .eslintrc.json ├── .gitignore ├── .husky ├── .gitignore └── pre-commit ├── .npsrc ├── .nxignore ├── .prettierignore ├── .prettierrc ├── .travis.yml ├── CHANGELOG.md ├── LICENSE ├── README.md ├── apps ├── demo-angular │ ├── .eslintrc.json │ ├── .gitignore │ ├── nativescript.config.ts │ ├── package.json │ ├── project.json │ ├── references.d.ts │ ├── src │ │ ├── app-routing.module.ts │ │ ├── app.component.ts │ │ ├── app.module.ts │ │ ├── app.scss │ │ ├── app.service.ts │ │ ├── home.component.html │ │ ├── home.component.ts │ │ ├── main.ts │ │ ├── plugin-demos │ │ │ ├── .gitkeep │ │ │ ├── firebase-analytics.component.html │ │ │ ├── firebase-analytics.component.ts │ │ │ ├── firebase-analytics.module.ts │ │ │ ├── firebase-app-check-debug.component.html │ │ │ ├── firebase-app-check-debug.component.ts │ │ │ ├── firebase-app-check-debug.module.ts │ │ │ ├── firebase-app-check.component.html │ │ │ ├── firebase-app-check.component.ts │ │ │ ├── firebase-app-check.module.ts │ │ │ ├── firebase-auth.component.html │ │ │ ├── firebase-auth.component.ts │ │ │ ├── firebase-auth.module.ts │ │ │ ├── firebase-core.component.html │ │ │ ├── firebase-core.component.ts │ │ │ ├── firebase-core.module.ts │ │ │ ├── firebase-crashlytics.component.html │ │ │ ├── firebase-crashlytics.component.ts │ │ │ ├── firebase-crashlytics.module.ts │ │ │ ├── firebase-database.component.html │ │ │ ├── firebase-database.component.ts │ │ │ ├── firebase-database.module.ts │ │ │ ├── firebase-dynamic-links.component.html │ │ │ ├── firebase-dynamic-links.component.ts │ │ │ ├── firebase-dynamic-links.module.ts │ │ │ ├── firebase-firestore.component.html │ │ │ ├── firebase-firestore.component.ts │ │ │ ├── firebase-firestore.module.ts │ │ │ ├── firebase-functions.component.html │ │ │ ├── firebase-functions.component.ts │ │ │ ├── firebase-functions.module.ts │ │ │ ├── firebase-in-app-messaging.component.html │ │ │ ├── firebase-in-app-messaging.component.ts │ │ │ ├── firebase-in-app-messaging.module.ts │ │ │ ├── firebase-installations.component.html │ │ │ ├── firebase-installations.component.ts │ │ │ ├── firebase-installations.module.ts │ │ │ ├── firebase-messaging-core.component.html │ │ │ ├── firebase-messaging-core.component.ts │ │ │ ├── firebase-messaging-core.module.ts │ │ │ ├── firebase-messaging.component.html │ │ │ ├── firebase-messaging.component.ts │ │ │ ├── firebase-messaging.module.ts │ │ │ ├── firebase-performance.component.html │ │ │ ├── firebase-performance.component.ts │ │ │ ├── firebase-performance.module.ts │ │ │ ├── firebase-remote-config.component.html │ │ │ ├── firebase-remote-config.component.ts │ │ │ ├── firebase-remote-config.module.ts │ │ │ ├── firebase-storage.component.html │ │ │ ├── firebase-storage.component.ts │ │ │ ├── firebase-storage.module.ts │ │ │ ├── firebase-ui.component.html │ │ │ ├── firebase-ui.component.ts │ │ │ ├── firebase-ui.module.ts │ │ │ ├── nativescript-firebase-analytics.component.html │ │ │ ├── nativescript-firebase-analytics.component.ts │ │ │ └── nativescript-firebase-analytics.module.ts │ │ └── polyfills.ts │ ├── tsconfig.json │ └── webpack.config.js ├── demo-vue │ ├── .eslintrc.json │ ├── .gitignore │ ├── app │ │ ├── app.scss │ │ ├── app.ts │ │ ├── components │ │ │ └── Home.vue │ │ └── plugin-demos │ │ │ ├── firebase-analytics.vue │ │ │ ├── firebase-app-check-debug.vue │ │ │ ├── firebase-app-check.vue │ │ │ ├── firebase-auth.vue │ │ │ ├── firebase-core.vue │ │ │ ├── firebase-crashlytics.vue │ │ │ ├── firebase-database.vue │ │ │ ├── firebase-dynamic-links.vue │ │ │ ├── firebase-firestore.vue │ │ │ ├── firebase-functions.vue │ │ │ ├── firebase-in-app-messaging.vue │ │ │ ├── firebase-installations.vue │ │ │ ├── firebase-messaging-core.vue │ │ │ ├── firebase-messaging.vue │ │ │ ├── firebase-performance.vue │ │ │ ├── firebase-remote-config.vue │ │ │ ├── firebase-storage.vue │ │ │ └── firebase-ui.vue │ ├── nativescript.config.ts │ ├── package.json │ ├── project.json │ ├── references.d.ts │ ├── tsconfig.json │ ├── types │ │ └── shims.vue.d.ts │ └── webpack.config.js └── demo │ ├── .eslintrc.json │ ├── .gitignore │ ├── nativescript.config.ts │ ├── package.json │ ├── project.json │ ├── references.d.ts │ ├── src │ ├── app-root.xml │ ├── app.scss │ ├── app.ts │ ├── main-page.ts │ ├── main-page.xml │ ├── main-view-model.ts │ └── plugin-demos │ │ ├── .gitkeep │ │ ├── firebase-analytics.ts │ │ ├── firebase-analytics.xml │ │ ├── firebase-app-check-debug.ts │ │ ├── firebase-app-check-debug.xml │ │ ├── firebase-app-check.ts │ │ ├── firebase-app-check.xml │ │ ├── firebase-auth.ts │ │ ├── firebase-auth.xml │ │ ├── firebase-core.ts │ │ ├── firebase-core.xml │ │ ├── firebase-crashlytics.ts │ │ ├── firebase-crashlytics.xml │ │ ├── firebase-database.ts │ │ ├── firebase-database.xml │ │ ├── firebase-dynamic-links.ts │ │ ├── firebase-dynamic-links.xml │ │ ├── firebase-firestore.ts │ │ ├── firebase-firestore.xml │ │ ├── firebase-functions.ts │ │ ├── firebase-functions.xml │ │ ├── firebase-in-app-messaging.ts │ │ ├── firebase-in-app-messaging.xml │ │ ├── firebase-installations.ts │ │ ├── firebase-installations.xml │ │ ├── firebase-messaging-core.ts │ │ ├── firebase-messaging-core.xml │ │ ├── firebase-messaging.ts │ │ ├── firebase-messaging.xml │ │ ├── firebase-performance.ts │ │ ├── firebase-performance.xml │ │ ├── firebase-remote-config.ts │ │ ├── firebase-remote-config.xml │ │ ├── firebase-storage.ts │ │ ├── firebase-storage.xml │ │ ├── firebase-ui.ts │ │ └── firebase-ui.xml │ ├── tsconfig.json │ └── webpack.config.js ├── jest.config.ts ├── migrations.json ├── nx.json ├── package.json ├── packages ├── .gitkeep ├── firebase-analytics │ ├── .eslintrc.json │ ├── README.md │ ├── common.ts │ ├── hooks │ │ ├── before-checkForChanges.ts │ │ ├── index.ts │ │ └── tsconfig.json │ ├── index.android.ts │ ├── index.d.ts │ ├── index.ios.ts │ ├── package.json │ ├── platforms │ │ ├── android │ │ │ ├── include.gradle │ │ │ └── java │ │ │ │ └── org │ │ │ │ └── nativescript │ │ │ │ └── firebase │ │ │ │ └── analytics │ │ │ │ └── FirebaseAnalytics.kt │ │ └── ios │ │ │ └── Podfile │ ├── postinstall.ts │ ├── preuninstall.ts │ ├── project.json │ ├── references.d.ts │ ├── tsconfig.json │ └── typings │ │ ├── android.d.ts │ │ ├── index.d.ts │ │ └── objc!FirebaseAnalytics.d.ts ├── firebase-app-check-debug │ ├── .eslintrc.json │ ├── README.md │ ├── common.ts │ ├── index.android.ts │ ├── index.d.ts │ ├── index.ios.ts │ ├── package.json │ ├── platforms │ │ ├── android │ │ │ ├── firebase_app_check_debug.aar │ │ │ ├── include.gradle │ │ │ └── java │ │ │ │ └── org │ │ │ │ └── nativescript │ │ │ │ └── firebase │ │ │ │ └── app_check_debug │ │ │ │ └── FirebaseAppCheckDebug.kt │ │ └── ios │ │ │ └── Podfile │ ├── project.json │ ├── references.d.ts │ ├── tsconfig.json │ └── typings │ │ ├── android.d.ts │ │ ├── index.d.ts │ │ ├── objc!FirebaseAppCheck.d.ts │ │ ├── objc!FirebaseAppCheckInterop.d.ts │ │ └── org.nativescript.firebase.app_check.d.ts ├── firebase-app-check │ ├── .eslintrc.json │ ├── README.md │ ├── common.ts │ ├── index.android.ts │ ├── index.d.ts │ ├── index.ios.ts │ ├── package.json │ ├── platforms │ │ ├── android │ │ │ ├── firebase_app_check.aar │ │ │ ├── include.gradle │ │ │ └── java │ │ │ │ └── org │ │ │ │ └── nativescript │ │ │ │ └── firebase │ │ │ │ └── app_check │ │ │ │ └── FirebaseAppCheck.kt │ │ └── ios │ │ │ └── Podfile │ ├── project.json │ ├── references.d.ts │ ├── tsconfig.json │ └── typings │ │ ├── android.d.ts │ │ ├── index.d.ts │ │ ├── objc!FirebaseAppCheck.d.ts │ │ ├── objc!FirebaseAppCheckInterop.d.ts │ │ └── org.nativescript.firebase.app_check.d.ts ├── firebase-auth │ ├── .eslintrc.json │ ├── README.md │ ├── common.d.ts │ ├── common.ts │ ├── index.android.ts │ ├── index.d.ts │ ├── index.ios.ts │ ├── package.json │ ├── platforms │ │ ├── android │ │ │ ├── firebase_auth.aar │ │ │ ├── include.gradle │ │ │ └── java │ │ │ │ └── org │ │ │ │ └── nativescript │ │ │ │ └── firebase │ │ │ │ └── auth │ │ │ │ └── FirebaseAuth.kt │ │ └── ios │ │ │ └── Podfile │ ├── project.json │ ├── references.d.ts │ ├── tsconfig.json │ └── typings │ │ ├── android.d.ts │ │ ├── auth-interop.d.ts │ │ ├── index.d.ts │ │ ├── objc!FirebaseAuth.d.ts │ │ ├── objc!FirebaseAuthInterop.d.ts │ │ └── org.nativescript.firebase.auth.d.ts ├── firebase-core │ ├── .eslintrc.json │ ├── README.md │ ├── index.android.ts │ ├── index.d.ts │ ├── index.ios.ts │ ├── package.json │ ├── platforms │ │ ├── android │ │ │ ├── buildscript.gradle │ │ │ ├── firebase_core.aar │ │ │ ├── include.gradle │ │ │ └── java │ │ │ │ └── org │ │ │ │ └── nativescript │ │ │ │ └── firebase │ │ │ │ └── core │ │ │ │ └── FirebaseCore.kt │ │ └── ios │ │ │ ├── Podfile │ │ │ └── src │ │ │ ├── TNSFirebaseCore.h │ │ │ ├── TNSFirebaseCore.m │ │ │ ├── TNSFirebaseCoreUmbrella.h │ │ │ ├── UIApplicationDelegate+LaunchExtension.h │ │ │ ├── UIApplicationDelegate+LaunchExtension.m │ │ │ └── module.modulemap │ ├── project.json │ ├── references.d.ts │ ├── tsconfig.json │ ├── typings │ │ ├── android.d.ts │ │ ├── index.d.ts │ │ ├── objc!FirebaseCore.d.ts │ │ ├── objc!FirebaseCoreExtension.d.ts │ │ └── objc!FirebaseCoreInternal.d.ts │ └── utils.ts ├── firebase-crashlytics │ ├── .eslintrc.json │ ├── README.md │ ├── common.ts │ ├── index.android.ts │ ├── index.d.ts │ ├── index.ios.ts │ ├── nativescript.webpack.js │ ├── package.json │ ├── platforms │ │ ├── android │ │ │ ├── buildscript.gradle │ │ │ ├── firebase_crashlytics.aar │ │ │ ├── include.gradle │ │ │ └── java │ │ │ │ └── org │ │ │ │ └── nativescript │ │ │ │ └── firebase │ │ │ │ └── crashlytics │ │ │ │ └── FirebaseCrashlytics.kt │ │ └── ios │ │ │ ├── Podfile │ │ │ └── src │ │ │ ├── TNSFirebaseCrashlytics.h │ │ │ ├── TNSFirebaseCrashlytics.m │ │ │ └── module.modulemap │ ├── project.json │ ├── references.d.ts │ ├── tsconfig.json │ └── typings │ │ ├── android.d.ts │ │ ├── index.d.ts │ │ ├── objc!FirebaseCrashlytics.d.ts │ │ └── org.nativescript.firebase.crashlytics.d.ts ├── firebase-database │ ├── .eslintrc.json │ ├── README.md │ ├── common.ts │ ├── index.android.ts │ ├── index.d.ts │ ├── index.ios.ts │ ├── package.json │ ├── platforms │ │ ├── android │ │ │ ├── firebase_database.aar │ │ │ ├── include.gradle │ │ │ └── java │ │ │ │ └── org │ │ │ │ └── nativescript │ │ │ │ └── firebase │ │ │ │ └── database │ │ │ │ └── FirebaseDatabase.kt │ │ └── ios │ │ │ └── Podfile │ ├── project.json │ ├── references.d.ts │ ├── tsconfig.json │ └── typings │ │ ├── android.d.ts │ │ ├── index.d.ts │ │ ├── objc!FirebaseDatabase.d.ts │ │ └── org.nativescript.firebase.database.d.ts ├── firebase-dynamic-links │ ├── .eslintrc.json │ ├── README.md │ ├── common.ts │ ├── index.android.ts │ ├── index.d.ts │ ├── index.ios.ts │ ├── package.json │ ├── platforms │ │ ├── android │ │ │ ├── firebase_dynamic_links.aar │ │ │ ├── include.gradle │ │ │ └── java │ │ │ │ └── org │ │ │ │ └── nativescript │ │ │ │ └── firebase │ │ │ │ └── dynamic_links │ │ │ │ └── FirebaseDynamicLinks.kt │ │ └── ios │ │ │ ├── Podfile │ │ │ └── src │ │ │ ├── TNSFirebaseDynamicLinksAppDelegate.swift │ │ │ ├── TNSFirebaseDynamicLinksLoader.h │ │ │ ├── TNSFirebaseDynamicLinksLoader.m │ │ │ └── module.modulemap │ ├── project.json │ ├── references.d.ts │ ├── tsconfig.json │ └── typings │ │ ├── android.d.ts │ │ ├── index.d.ts │ │ ├── objc!FirebaseDynamicLinks.d.ts │ │ ├── objc!GoogleUtilities.d.ts │ │ └── org.nativescript.firebase.dynamic_links.d.ts ├── firebase-firestore │ ├── .eslintrc.json │ ├── README.md │ ├── common.ts │ ├── index.android.ts │ ├── index.d.ts │ ├── index.ios.ts │ ├── package.json │ ├── platforms │ │ ├── android │ │ │ ├── firebase_firestore.aar │ │ │ ├── include.gradle │ │ │ └── java │ │ │ │ └── org │ │ │ │ └── nativescript │ │ │ │ └── firebase │ │ │ │ └── firestore │ │ │ │ └── FirebaseFirestore.kt │ │ └── ios │ │ │ └── Podfile │ ├── project.json │ ├── references.d.ts │ ├── tsconfig.json │ └── typings │ │ ├── android.d.ts │ │ ├── index.d.ts │ │ ├── objc!FirebaseCore.d.ts │ │ ├── objc!FirebaseFirestore.d.ts │ │ ├── objc!FirebaseFirestoreInternal.d.ts │ │ └── org.nativescript.firebase.firestore.d.ts ├── firebase-functions │ ├── .eslintrc.json │ ├── README.md │ ├── common.ts │ ├── index.android.ts │ ├── index.d.ts │ ├── index.ios.ts │ ├── package.json │ ├── platforms │ │ ├── android │ │ │ ├── firebase_functions.aar │ │ │ ├── include.gradle │ │ │ └── java │ │ │ │ └── org │ │ │ │ └── nativescript │ │ │ │ └── firebase │ │ │ │ └── functions │ │ │ │ └── FirebaseFunctions.kt │ │ └── ios │ │ │ └── Podfile │ ├── project.json │ ├── references.d.ts │ ├── tsconfig.json │ └── typings │ │ ├── android.d.ts │ │ ├── index.d.ts │ │ ├── objc!FirebaseFunctions.d.ts │ │ └── org.nativescript.firebase.functions.d.ts ├── firebase-in-app-messaging │ ├── .eslintrc.json │ ├── README.md │ ├── common.ts │ ├── index.android.ts │ ├── index.d.ts │ ├── index.ios.ts │ ├── package.json │ ├── platforms │ │ ├── android │ │ │ └── include.gradle │ │ └── ios │ │ │ └── Podfile │ ├── project.json │ ├── references.d.ts │ ├── tsconfig.json │ └── typings │ │ ├── android.d.ts │ │ ├── index.d.ts │ │ └── objc!FirebaseInAppMessaging.d.ts ├── firebase-installations │ ├── .eslintrc.json │ ├── README.md │ ├── common.ts │ ├── index.android.ts │ ├── index.d.ts │ ├── index.ios.ts │ ├── package.json │ ├── platforms │ │ ├── android │ │ │ ├── firebase_installations.aar │ │ │ ├── include.gradle │ │ │ └── java │ │ │ │ └── org │ │ │ │ └── nativescript │ │ │ │ └── firebase │ │ │ │ └── installations │ │ │ │ └── FirebaseInstallations.kt │ │ └── ios │ │ │ └── Podfile │ ├── project.json │ ├── references.d.ts │ ├── tsconfig.json │ └── typings │ │ ├── android.d.ts │ │ ├── index.d.ts │ │ ├── objc!FirebaseInstallations.d.ts │ │ └── org.nativescript.firebase.installations.d.ts ├── firebase-messaging-core │ ├── .eslintrc.json │ ├── README.md │ ├── common.d.ts │ ├── common.ts │ ├── index.android.ts │ ├── index.d.ts │ ├── index.ios.ts │ ├── package.json │ ├── platforms │ │ ├── android │ │ │ ├── AndroidManifest.xml │ │ │ ├── buildscript.gradle │ │ │ ├── firebase_messaging_core.aar │ │ │ ├── include.gradle │ │ │ └── java │ │ │ │ └── org │ │ │ │ └── nativescript │ │ │ │ └── firebase │ │ │ │ └── messaging │ │ │ │ └── FirebaseMessaging.kt │ │ └── ios │ │ │ ├── Info.plist │ │ │ ├── Podfile │ │ │ ├── app.entitlements │ │ │ └── src │ │ │ ├── NSCFirebaseMessagingCore.h │ │ │ ├── NSCFirebaseMessagingCore.m │ │ │ ├── NSCFirebaseMessagingCoreLoader.h │ │ │ ├── NSCFirebaseMessagingCoreLoader.m │ │ │ ├── NSCFirebaseMessagingCoreUmbrella.h │ │ │ ├── NSCFirebaseRemoteMessage.swift │ │ │ ├── NSCNotificationHelper.swift │ │ │ ├── NSCUIApplicationDelegate.swift │ │ │ ├── NSCUNUserNotificationCenterDelegate.swift │ │ │ └── module.modulemap │ ├── project.json │ ├── references.d.ts │ ├── src-native │ │ └── android │ │ │ ├── .gitignore │ │ │ ├── .idea │ │ │ ├── .gitignore │ │ │ ├── .name │ │ │ ├── compiler.xml │ │ │ ├── gradle.xml │ │ │ ├── misc.xml │ │ │ └── vcs.xml │ │ │ ├── app │ │ │ ├── .gitignore │ │ │ ├── build.gradle │ │ │ ├── proguard-rules.pro │ │ │ └── src │ │ │ │ ├── androidTest │ │ │ │ └── java │ │ │ │ │ └── org │ │ │ │ │ └── nativescript │ │ │ │ │ └── firebase │ │ │ │ │ └── firebasemessagingdemo │ │ │ │ │ └── ExampleInstrumentedTest.kt │ │ │ │ ├── main │ │ │ │ ├── AndroidManifest.xml │ │ │ │ ├── java │ │ │ │ │ └── org │ │ │ │ │ │ └── nativescript │ │ │ │ │ │ └── firebase │ │ │ │ │ │ └── firebasemessagingdemo │ │ │ │ │ │ └── MainActivity.kt │ │ │ │ └── res │ │ │ │ │ ├── drawable-v24 │ │ │ │ │ └── ic_launcher_foreground.xml │ │ │ │ │ ├── drawable │ │ │ │ │ └── ic_launcher_background.xml │ │ │ │ │ ├── layout │ │ │ │ │ └── activity_main.xml │ │ │ │ │ ├── mipmap-anydpi-v26 │ │ │ │ │ ├── ic_launcher.xml │ │ │ │ │ └── ic_launcher_round.xml │ │ │ │ │ ├── mipmap-hdpi │ │ │ │ │ ├── ic_launcher.webp │ │ │ │ │ └── ic_launcher_round.webp │ │ │ │ │ ├── mipmap-mdpi │ │ │ │ │ ├── ic_launcher.webp │ │ │ │ │ └── ic_launcher_round.webp │ │ │ │ │ ├── mipmap-xhdpi │ │ │ │ │ ├── ic_launcher.webp │ │ │ │ │ └── ic_launcher_round.webp │ │ │ │ │ ├── mipmap-xxhdpi │ │ │ │ │ ├── ic_launcher.webp │ │ │ │ │ └── ic_launcher_round.webp │ │ │ │ │ ├── mipmap-xxxhdpi │ │ │ │ │ ├── ic_launcher.webp │ │ │ │ │ └── ic_launcher_round.webp │ │ │ │ │ ├── values-night │ │ │ │ │ └── themes.xml │ │ │ │ │ └── values │ │ │ │ │ ├── colors.xml │ │ │ │ │ ├── strings.xml │ │ │ │ │ └── themes.xml │ │ │ │ └── test │ │ │ │ └── java │ │ │ │ └── org │ │ │ │ └── nativescript │ │ │ │ └── firebase │ │ │ │ └── firebasemessagingdemo │ │ │ │ └── ExampleUnitTest.kt │ │ │ ├── build.gradle │ │ │ ├── gradle.properties │ │ │ ├── gradle │ │ │ └── wrapper │ │ │ │ ├── gradle-wrapper.jar │ │ │ │ └── gradle-wrapper.properties │ │ │ ├── gradlew │ │ │ ├── gradlew.bat │ │ │ ├── messaging │ │ │ ├── .gitignore │ │ │ ├── build.gradle │ │ │ ├── consumer-rules.pro │ │ │ ├── proguard-rules.pro │ │ │ └── src │ │ │ │ ├── androidTest │ │ │ │ └── java │ │ │ │ │ └── org │ │ │ │ │ └── nativescript │ │ │ │ │ └── firebase │ │ │ │ │ └── messaging │ │ │ │ │ └── ExampleInstrumentedTest.kt │ │ │ │ ├── main │ │ │ │ ├── AndroidManifest.xml │ │ │ │ └── java │ │ │ │ │ └── org │ │ │ │ │ └── nativescript │ │ │ │ │ └── firebase │ │ │ │ │ └── messaging │ │ │ │ │ └── FirebaseMessaging.kt │ │ │ │ └── test │ │ │ │ └── java │ │ │ │ └── org │ │ │ │ └── nativescript │ │ │ │ └── firebase │ │ │ │ └── messaging │ │ │ │ └── ExampleUnitTest.kt │ │ │ └── settings.gradle │ ├── tsconfig.json │ └── typings │ │ ├── android.d.ts │ │ ├── objc!NSCFirebaseMessagingCore.d.ts │ │ └── org.nativescript.firebase.messaging.d.ts ├── firebase-messaging │ ├── .eslintrc.json │ ├── README.md │ ├── assets │ │ └── images │ │ │ └── push-xcode-config.png │ ├── index.android.ts │ ├── index.d.ts │ ├── index.ios.ts │ ├── package.json │ ├── platforms │ │ ├── android │ │ │ └── include.gradle │ │ └── ios │ │ │ ├── Podfile │ │ │ └── src │ │ │ ├── NSCFIRMessagingDelegate.swift │ │ │ ├── NSCFIRMessagingUmbrella.h │ │ │ └── module.modulemap │ ├── project.json │ ├── references.d.ts │ ├── tsconfig.json │ └── typings │ │ ├── android.d.ts │ │ ├── index.d.ts │ │ ├── objc!FirebaseMessaging.d.ts │ │ ├── objc!FirebaseMessagingInterop.d.ts │ │ ├── objc!GoogleUtilities.d.ts │ │ ├── objc!NSCFirebaseMessagingCore.d.ts │ │ └── org.nativescript.firebase.messaging.d.ts ├── firebase-performance │ ├── .eslintrc.json │ ├── README.md │ ├── common.ts │ ├── index.android.ts │ ├── index.d.ts │ ├── index.ios.ts │ ├── package.json │ ├── platforms │ │ ├── android │ │ │ ├── buildscript.gradle │ │ │ ├── include.gradle │ │ │ └── rootbuildscript.gradle │ │ └── ios │ │ │ └── Podfile │ ├── project.json │ ├── references.d.ts │ ├── tsconfig.json │ └── typings │ │ ├── android.d.ts │ │ ├── index.d.ts │ │ └── objc!FirebasePerformance.d.ts ├── firebase-remote-config │ ├── .eslintrc.json │ ├── README.md │ ├── common.ts │ ├── index.android.ts │ ├── index.d.ts │ ├── index.ios.ts │ ├── package.json │ ├── platforms │ │ ├── android │ │ │ ├── firebase_remote_config.aar │ │ │ ├── include.gradle │ │ │ └── java │ │ │ │ └── org │ │ │ │ └── nativescript │ │ │ │ └── firebase │ │ │ │ └── remote_config │ │ │ │ └── FirebaseRemoteConfig.kt │ │ └── ios │ │ │ └── Podfile │ ├── project.json │ ├── references.d.ts │ ├── tsconfig.json │ └── typings │ │ ├── android.d.ts │ │ ├── index.d.ts │ │ ├── objc!FirebaseRemoteConfig.d.ts │ │ ├── objc!FirebaseRemoteConfigInterop.d.ts │ │ └── org.nativescript.firebase.remote_config.d.ts ├── firebase-storage │ ├── .eslintrc.json │ ├── README.md │ ├── common.ts │ ├── index.android.ts │ ├── index.d.ts │ ├── index.ios.ts │ ├── package.json │ ├── platforms │ │ ├── android │ │ │ ├── firebase_storage.aar │ │ │ ├── include.gradle │ │ │ └── java │ │ │ │ └── org │ │ │ │ └── nativescript │ │ │ │ └── firebase │ │ │ │ └── storage │ │ │ │ └── FirebaseStorage.kt │ │ └── ios │ │ │ └── Podfile │ ├── project.json │ ├── references.d.ts │ ├── tsconfig.json │ ├── typings │ │ ├── android.d.ts │ │ ├── index.d.ts │ │ ├── objc!FirebaseStorage.d.ts │ │ └── org.nativescript.firebase.storage.d.ts │ └── utils.ts └── firebase-ui │ ├── .eslintrc.json │ ├── README.md │ ├── common.ts │ ├── index.android.ts │ ├── index.d.ts │ ├── index.ios.ts │ ├── package.json │ ├── platforms │ ├── android │ │ ├── firebase_ui.aar │ │ ├── include.gradle │ │ └── java │ │ │ └── org │ │ │ └── nativescript │ │ │ └── firebase │ │ │ └── ui │ │ │ └── FirebaseUI.kt │ └── ios │ │ └── Podfile │ ├── project.json │ ├── references.d.ts │ ├── tsconfig.json │ └── typings │ ├── android.d.ts │ ├── auth-interop.d.ts │ ├── firebase-auth.d.ts │ ├── index.d.ts │ ├── objc!FirebaseAnonymousAuthUI.d.ts │ ├── objc!FirebaseAuth.d.ts │ ├── objc!FirebaseAuthUI.d.ts │ ├── objc!FirebaseDatabaseUI.d.ts │ ├── objc!FirebaseEmailAuthUI.d.ts │ ├── objc!FirebaseFacebookAuthUI.d.ts │ ├── objc!FirebaseFirestoreUI.d.ts │ ├── objc!FirebaseGoogleAuthUI.d.ts │ ├── objc!FirebaseOAuthUI.d.ts │ ├── objc!FirebasePhoneAuthUI.d.ts │ └── objc!FirebaseStorageUI.d.ts ├── references.d.ts ├── tools ├── assets │ ├── App_Resources │ │ ├── Android │ │ │ ├── app.gradle │ │ │ └── src │ │ │ │ ├── google-services.json │ │ │ │ └── main │ │ │ │ ├── AndroidManifest.xml │ │ │ │ └── res │ │ │ │ ├── drawable-hdpi │ │ │ │ ├── background.png │ │ │ │ ├── icon.png │ │ │ │ └── logo.png │ │ │ │ ├── drawable-ldpi │ │ │ │ ├── background.png │ │ │ │ ├── icon.png │ │ │ │ └── logo.png │ │ │ │ ├── drawable-mdpi │ │ │ │ ├── background.png │ │ │ │ ├── icon.png │ │ │ │ └── logo.png │ │ │ │ ├── drawable-nodpi │ │ │ │ └── splash_screen.xml │ │ │ │ ├── drawable-xhdpi │ │ │ │ ├── background.png │ │ │ │ ├── icon.png │ │ │ │ └── logo.png │ │ │ │ ├── drawable-xxhdpi │ │ │ │ ├── background.png │ │ │ │ ├── icon.png │ │ │ │ └── logo.png │ │ │ │ ├── drawable-xxxhdpi │ │ │ │ ├── background.png │ │ │ │ ├── icon.png │ │ │ │ └── logo.png │ │ │ │ ├── values-v21 │ │ │ │ ├── colors.xml │ │ │ │ └── styles.xml │ │ │ │ └── values │ │ │ │ ├── colors.xml │ │ │ │ └── styles.xml │ │ └── iOS │ │ │ ├── Assets.xcassets │ │ │ ├── AppIcon.appiconset │ │ │ │ ├── Contents.json │ │ │ │ ├── icon-1024.png │ │ │ │ ├── icon-20.png │ │ │ │ ├── icon-20@2x.png │ │ │ │ ├── icon-20@3x.png │ │ │ │ ├── icon-29.png │ │ │ │ ├── icon-29@2x.png │ │ │ │ ├── icon-29@3x.png │ │ │ │ ├── icon-40.png │ │ │ │ ├── icon-40@2x.png │ │ │ │ ├── icon-40@3x.png │ │ │ │ ├── icon-60@2x.png │ │ │ │ ├── icon-60@3x.png │ │ │ │ ├── icon-76.png │ │ │ │ ├── icon-76@2x.png │ │ │ │ └── icon-83.5@2x.png │ │ │ ├── Contents.json │ │ │ ├── LaunchScreen.AspectFill.imageset │ │ │ │ ├── Contents.json │ │ │ │ ├── LaunchScreen-AspectFill.png │ │ │ │ ├── LaunchScreen-AspectFill@2x.png │ │ │ │ └── LaunchScreen-AspectFill@3x.png │ │ │ └── LaunchScreen.Center.imageset │ │ │ │ ├── Contents.json │ │ │ │ ├── LaunchScreen-Center.png │ │ │ │ ├── LaunchScreen-Center@2x.png │ │ │ │ └── LaunchScreen-Center@3x.png │ │ │ ├── GoogleService-Info.plist │ │ │ ├── Info.plist │ │ │ ├── LaunchScreen.storyboard │ │ │ ├── Podfile │ │ │ ├── app.entitlements │ │ │ ├── build.xcconfig │ │ │ ├── icon.png │ │ │ └── icon@2x.png │ ├── README.md │ └── publishing │ │ └── .npmignore ├── demo │ ├── firebase-analytics │ │ └── index.ts │ ├── firebase-app-check-debug │ │ └── index.ts │ ├── firebase-app-check │ │ └── index.ts │ ├── firebase-auth │ │ └── index.ts │ ├── firebase-core │ │ └── index.ts │ ├── firebase-crashlytics │ │ └── index.ts │ ├── firebase-database │ │ └── index.ts │ ├── firebase-dynamic-links │ │ └── index.ts │ ├── firebase-firestore │ │ └── index.ts │ ├── firebase-functions │ │ └── index.ts │ ├── firebase-in-app-messaging │ │ └── index.ts │ ├── firebase-installations │ │ └── index.ts │ ├── firebase-messaging-core │ │ └── index.ts │ ├── firebase-messaging │ │ └── index.ts │ ├── firebase-performance │ │ └── index.ts │ ├── firebase-remote-config │ │ └── index.ts │ ├── firebase-storage │ │ └── index.ts │ ├── firebase-ui │ │ └── index.ts │ ├── index.ts │ ├── references.d.ts │ ├── tsconfig.json │ └── utils │ │ ├── demo-base.ts │ │ └── index.ts ├── images │ └── deadpool.jpeg ├── package-settings.json ├── schematics │ └── .gitkeep ├── scripts │ ├── build-finish.ts │ └── generate-publish-typings.js ├── tsconfig.tools.json └── workspace-scripts.js └── tsconfig.base.json /.editorconfig: -------------------------------------------------------------------------------- 1 | # Editor configuration, see http://editorconfig.org 2 | root = true 3 | 4 | [*] 5 | charset = utf-8 6 | indent_style = space 7 | indent_size = 2 8 | insert_final_newline = true 9 | trim_trailing_whitespace = true 10 | 11 | [*.md] 12 | max_line_length = off 13 | trim_trailing_whitespace = false 14 | -------------------------------------------------------------------------------- /.eslintignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | # See http://help.github.com/ignore-files/ for more about ignoring files. 2 | 3 | # compiled output 4 | /dist 5 | /tmp 6 | /out-tsc 7 | /packages/**/*.js 8 | /packages/**/*.map 9 | 10 | # dependencies 11 | node_modules 12 | package-lock.json 13 | yarn.lock 14 | 15 | # IDEs and editors 16 | /.idea 17 | .project 18 | .classpath 19 | .c9/ 20 | *.launch 21 | .settings/ 22 | *.sublime-workspace 23 | 24 | # IDE - VSCode 25 | .vscode/* 26 | !.vscode/settings.json 27 | !.vscode/tasks.json 28 | !.vscode/launch.json 29 | !.vscode/extensions.json 30 | 31 | # misc 32 | /.sass-cache 33 | /connect.lock 34 | /coverage 35 | /libpeerconnection.log 36 | npm-debug.log 37 | yarn-error.log 38 | testem.log 39 | /typings 40 | 41 | # System Files 42 | .DS_Store 43 | Thumbs.db 44 | 45 | *.tgz 46 | packages/**/angular/dist 47 | 48 | .nx/cache 49 | .nx/workspace-data -------------------------------------------------------------------------------- /.husky/.gitignore: -------------------------------------------------------------------------------- 1 | _ 2 | -------------------------------------------------------------------------------- /.husky/pre-commit: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | . "$(dirname "$0")/_/husky.sh" 3 | 4 | npx lint-staged --allow-empty 5 | -------------------------------------------------------------------------------- /.npsrc: -------------------------------------------------------------------------------- 1 | { 2 | "config": "./tools/workspace-scripts.js" 3 | } -------------------------------------------------------------------------------- /.nxignore: -------------------------------------------------------------------------------- 1 | apps/**/*_off -------------------------------------------------------------------------------- /.prettierignore: -------------------------------------------------------------------------------- 1 | # Add files here to ignore them from prettier formatting 2 | 3 | /dist 4 | /coverage 5 | native-src 6 | 7 | /.nx/cache 8 | /.nx/workspace-data -------------------------------------------------------------------------------- /.prettierrc: -------------------------------------------------------------------------------- 1 | { 2 | "useTabs": true, 3 | "printWidth": 600, 4 | "tabWidth": 2, 5 | "singleQuote": true 6 | } 7 | -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - "node" 4 | script: 5 | - npm run setup 6 | - npm start @nativescript.build-all 7 | -------------------------------------------------------------------------------- /apps/demo-angular/.eslintrc.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": ["../../.eslintrc.json"], 3 | "ignorePatterns": ["!**/*", "node_modules/**/*"], 4 | "overrides": [ 5 | { 6 | "files": ["*.ts", "*.tsx", "*.js", "*.jsx"], 7 | "rules": {} 8 | }, 9 | { 10 | "files": ["*.ts", "*.tsx"], 11 | "rules": {} 12 | }, 13 | { 14 | "files": ["*.js", "*.jsx"], 15 | "rules": {} 16 | } 17 | ] 18 | } 19 | -------------------------------------------------------------------------------- /apps/demo-angular/.gitignore: -------------------------------------------------------------------------------- 1 | hooks 2 | platforms 3 | !webpack.config.js -------------------------------------------------------------------------------- /apps/demo-angular/nativescript.config.ts: -------------------------------------------------------------------------------- 1 | import { NativeScriptConfig } from '@nativescript/core'; 2 | 3 | export default { 4 | // id: 'org.nativescript.plugindemoangular', 5 | id: 'io.github.triniwiz.nativescript.firebasedemo', 6 | appResourcesPath: '../../tools/assets/App_Resources', 7 | android: { 8 | v8Flags: '--expose_gc', 9 | markingMode: 'none', 10 | }, 11 | appPath: 'src', 12 | } as NativeScriptConfig; 13 | -------------------------------------------------------------------------------- /apps/demo-angular/references.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | -------------------------------------------------------------------------------- /apps/demo-angular/src/app.component.ts: -------------------------------------------------------------------------------- 1 | import { Component } from '@angular/core'; 2 | import { AppService } from './app.service'; 3 | @Component({ 4 | selector: 'demo-app', 5 | template: ` 6 | 7 | `, 8 | }) 9 | export class AppComponent { 10 | constructor(appService: AppService){} 11 | } 12 | -------------------------------------------------------------------------------- /apps/demo-angular/src/app.module.ts: -------------------------------------------------------------------------------- 1 | import { NgModule, NO_ERRORS_SCHEMA } from '@angular/core'; 2 | import { NativeScriptModule } from '@nativescript/angular'; 3 | 4 | import { AppComponent } from './app.component'; 5 | import { AppRoutingModule } from './app-routing.module'; 6 | import { HomeComponent } from './home.component'; 7 | import { AppService } from './app.service'; 8 | 9 | @NgModule({ 10 | schemas: [NO_ERRORS_SCHEMA], 11 | declarations: [AppComponent, HomeComponent], 12 | bootstrap: [AppComponent], 13 | imports: [NativeScriptModule, AppRoutingModule], 14 | providers: [AppService] 15 | }) 16 | export class AppModule {} 17 | -------------------------------------------------------------------------------- /apps/demo-angular/src/app.scss: -------------------------------------------------------------------------------- 1 | @import 'nativescript-theme-core/scss/light'; 2 | @import 'nativescript-theme-core/scss/index'; 3 | 4 | button, label, stack-layout { 5 | horizontal-align: center; 6 | } 7 | 8 | button { 9 | font-size: 36; 10 | } 11 | 12 | .title { 13 | font-size: 30; 14 | margin: 20; 15 | } 16 | 17 | .message { 18 | font-size: 20; 19 | color: #284848; 20 | text-align: center; 21 | margin: 0 20; 22 | } 23 | -------------------------------------------------------------------------------- /apps/demo-angular/src/app.service.ts: -------------------------------------------------------------------------------- 1 | import { Injectable } from '@angular/core'; 2 | import { firebase } from '@nativescript/firebase-core'; 3 | import '@nativescript/firebase-messaging'; 4 | 5 | @Injectable() 6 | export class AppService { 7 | constructor() { 8 | const messaging = firebase().messaging(); 9 | messaging.onToken((token) => { 10 | console.log('Firebase onToken', token); 11 | }); 12 | messaging.onMessage((message) => { 13 | console.log('Firebase onMessage', message); 14 | }); 15 | 16 | messaging.onNotificationTap((message) => { 17 | console.log('Firebase onNotificationTap', message); 18 | }); 19 | 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /apps/demo-angular/src/home.component.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /apps/demo-angular/src/main.ts: -------------------------------------------------------------------------------- 1 | import { runNativeScriptAngularApp, platformNativeScript } from '@nativescript/angular'; 2 | import { AppModule } from './app.module'; 3 | import { firebase } from '@nativescript/firebase-core'; 4 | import { Application } from '@nativescript/core'; 5 | 6 | Application.on('launch', (args) => { 7 | console.log('launch'); 8 | }); 9 | 10 | firebase() 11 | .initializeApp() 12 | .then((done) => { 13 | console.log('initializeApp'); 14 | }); 15 | 16 | const messaging = firebase().messaging(); 17 | 18 | messaging 19 | .requestPermission() 20 | .then(() => { 21 | console.log('requestPermission', 'done'); 22 | messaging.registerDeviceForRemoteMessages().catch((e) => { 23 | console.error('registerDeviceForRemoteMessages', e); 24 | }); 25 | }) 26 | .catch((e) => { 27 | console.error('requestPermission', e); 28 | }); 29 | 30 | runNativeScriptAngularApp({ 31 | appModuleBootstrap: () => platformNativeScript().bootstrapModule(AppModule), 32 | }); 33 | -------------------------------------------------------------------------------- /apps/demo-angular/src/plugin-demos/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NativeScript/firebase/5b7be942139e28f22d48a12fc8bc2d34db6a8a98/apps/demo-angular/src/plugin-demos/.gitkeep -------------------------------------------------------------------------------- /apps/demo-angular/src/plugin-demos/firebase-analytics.component.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /apps/demo-angular/src/plugin-demos/firebase-analytics.component.ts: -------------------------------------------------------------------------------- 1 | import { Component, NgZone } from '@angular/core'; 2 | import { DemoSharedFirebaseAnalytics } from '@demo/shared'; 3 | import { } from '@nativescript/firebase-analytics'; 4 | 5 | @Component({ 6 | selector: 'demo-firebase-analytics', 7 | templateUrl: 'firebase-analytics.component.html', 8 | }) 9 | export class FirebaseAnalyticsComponent { 10 | 11 | demoShared: DemoSharedFirebaseAnalytics; 12 | 13 | constructor(private _ngZone: NgZone) {} 14 | 15 | ngOnInit() { 16 | this.demoShared = new DemoSharedFirebaseAnalytics(); 17 | } 18 | 19 | } -------------------------------------------------------------------------------- /apps/demo-angular/src/plugin-demos/firebase-analytics.module.ts: -------------------------------------------------------------------------------- 1 | import { NgModule, NO_ERRORS_SCHEMA } from '@angular/core'; 2 | import { NativeScriptCommonModule, NativeScriptRouterModule } from '@nativescript/angular'; 3 | import { FirebaseAnalyticsComponent } from './firebase-analytics.component'; 4 | 5 | @NgModule({ 6 | imports: [NativeScriptCommonModule, NativeScriptRouterModule.forChild([{ path: '', component: FirebaseAnalyticsComponent }])], 7 | declarations: [FirebaseAnalyticsComponent], 8 | schemas: [ NO_ERRORS_SCHEMA] 9 | }) 10 | export class FirebaseAnalyticsModule {} 11 | -------------------------------------------------------------------------------- /apps/demo-angular/src/plugin-demos/firebase-app-check-debug.component.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /apps/demo-angular/src/plugin-demos/firebase-app-check-debug.component.ts: -------------------------------------------------------------------------------- 1 | import { Component, NgZone } from '@angular/core'; 2 | import { DemoSharedFirebaseAppCheckDebug } from '@demo/shared'; 3 | import { } from '@nativescript/firebase-app-check-debug'; 4 | 5 | @Component({ 6 | selector: 'demo-firebase-app-check-debug', 7 | templateUrl: 'firebase-app-check-debug.component.html', 8 | }) 9 | export class FirebaseAppCheckDebugComponent { 10 | 11 | demoShared: DemoSharedFirebaseAppCheckDebug; 12 | 13 | constructor(private _ngZone: NgZone) {} 14 | 15 | ngOnInit() { 16 | this.demoShared = new DemoSharedFirebaseAppCheckDebug(); 17 | } 18 | 19 | } -------------------------------------------------------------------------------- /apps/demo-angular/src/plugin-demos/firebase-app-check-debug.module.ts: -------------------------------------------------------------------------------- 1 | import { NgModule, NO_ERRORS_SCHEMA } from '@angular/core'; 2 | import { NativeScriptCommonModule, NativeScriptRouterModule } from '@nativescript/angular'; 3 | import { FirebaseAppCheckDebugComponent } from './firebase-app-check-debug.component'; 4 | 5 | @NgModule({ 6 | imports: [NativeScriptCommonModule, NativeScriptRouterModule.forChild([{ path: '', component: FirebaseAppCheckDebugComponent }])], 7 | declarations: [FirebaseAppCheckDebugComponent], 8 | schemas: [ NO_ERRORS_SCHEMA] 9 | }) 10 | export class FirebaseAppCheckDebugModule {} 11 | -------------------------------------------------------------------------------- /apps/demo-angular/src/plugin-demos/firebase-app-check.component.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /apps/demo-angular/src/plugin-demos/firebase-app-check.component.ts: -------------------------------------------------------------------------------- 1 | import { Component, NgZone } from '@angular/core'; 2 | import { DemoSharedFirebaseAppCheck } from '@demo/shared'; 3 | import { } from '@nativescript/firebase-app-check'; 4 | 5 | @Component({ 6 | selector: 'demo-firebase-app-check', 7 | templateUrl: 'firebase-app-check.component.html', 8 | }) 9 | export class FirebaseAppCheckComponent { 10 | 11 | demoShared: DemoSharedFirebaseAppCheck; 12 | 13 | constructor(private _ngZone: NgZone) {} 14 | 15 | ngOnInit() { 16 | this.demoShared = new DemoSharedFirebaseAppCheck(); 17 | } 18 | 19 | } -------------------------------------------------------------------------------- /apps/demo-angular/src/plugin-demos/firebase-app-check.module.ts: -------------------------------------------------------------------------------- 1 | import { NgModule, NO_ERRORS_SCHEMA } from '@angular/core'; 2 | import { NativeScriptCommonModule, NativeScriptRouterModule } from '@nativescript/angular'; 3 | import { FirebaseAppCheckComponent } from './firebase-app-check.component'; 4 | 5 | @NgModule({ 6 | imports: [NativeScriptCommonModule, NativeScriptRouterModule.forChild([{ path: '', component: FirebaseAppCheckComponent }])], 7 | declarations: [FirebaseAppCheckComponent], 8 | schemas: [ NO_ERRORS_SCHEMA] 9 | }) 10 | export class FirebaseAppCheckModule {} 11 | -------------------------------------------------------------------------------- /apps/demo-angular/src/plugin-demos/firebase-auth.component.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /apps/demo-angular/src/plugin-demos/firebase-auth.component.ts: -------------------------------------------------------------------------------- 1 | import { Component, NgZone } from '@angular/core'; 2 | import { DemoSharedFirebaseAuth } from '@demo/shared'; 3 | import { } from '@nativescript/firebase-auth'; 4 | 5 | @Component({ 6 | selector: 'demo-firebase-auth', 7 | templateUrl: 'firebase-auth.component.html', 8 | }) 9 | export class FirebaseAuthComponent { 10 | 11 | demoShared: DemoSharedFirebaseAuth; 12 | 13 | constructor(private _ngZone: NgZone) {} 14 | 15 | ngOnInit() { 16 | this.demoShared = new DemoSharedFirebaseAuth(); 17 | } 18 | 19 | } -------------------------------------------------------------------------------- /apps/demo-angular/src/plugin-demos/firebase-auth.module.ts: -------------------------------------------------------------------------------- 1 | import { NgModule, NO_ERRORS_SCHEMA } from '@angular/core'; 2 | import { NativeScriptCommonModule, NativeScriptRouterModule } from '@nativescript/angular'; 3 | import { FirebaseAuthComponent } from './firebase-auth.component'; 4 | 5 | @NgModule({ 6 | imports: [NativeScriptCommonModule, NativeScriptRouterModule.forChild([{ path: '', component: FirebaseAuthComponent }])], 7 | declarations: [FirebaseAuthComponent], 8 | schemas: [ NO_ERRORS_SCHEMA] 9 | }) 10 | export class FirebaseAuthModule {} 11 | -------------------------------------------------------------------------------- /apps/demo-angular/src/plugin-demos/firebase-core.component.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /apps/demo-angular/src/plugin-demos/firebase-core.component.ts: -------------------------------------------------------------------------------- 1 | import { Component, NgZone } from '@angular/core'; 2 | import { DemoSharedFirebaseCore } from '@demo/shared'; 3 | import { } from '@nativescript/firebase-core'; 4 | 5 | @Component({ 6 | selector: 'demo-firebase-core', 7 | templateUrl: 'firebase-core.component.html', 8 | }) 9 | export class FirebaseCoreComponent { 10 | 11 | demoShared: DemoSharedFirebaseCore; 12 | 13 | constructor(private _ngZone: NgZone) {} 14 | 15 | ngOnInit() { 16 | this.demoShared = new DemoSharedFirebaseCore(); 17 | } 18 | 19 | } -------------------------------------------------------------------------------- /apps/demo-angular/src/plugin-demos/firebase-core.module.ts: -------------------------------------------------------------------------------- 1 | import { NgModule, NO_ERRORS_SCHEMA } from '@angular/core'; 2 | import { NativeScriptCommonModule, NativeScriptRouterModule } from '@nativescript/angular'; 3 | import { FirebaseCoreComponent } from './firebase-core.component'; 4 | 5 | @NgModule({ 6 | imports: [NativeScriptCommonModule, NativeScriptRouterModule.forChild([{ path: '', component: FirebaseCoreComponent }])], 7 | declarations: [FirebaseCoreComponent], 8 | schemas: [ NO_ERRORS_SCHEMA] 9 | }) 10 | export class FirebaseCoreModule {} 11 | -------------------------------------------------------------------------------- /apps/demo-angular/src/plugin-demos/firebase-crashlytics.component.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /apps/demo-angular/src/plugin-demos/firebase-crashlytics.component.ts: -------------------------------------------------------------------------------- 1 | import { Component, NgZone } from '@angular/core'; 2 | import { DemoSharedFirebaseCrashlytics } from '@demo/shared'; 3 | import { } from '@nativescript/firebase-crashlytics'; 4 | 5 | @Component({ 6 | selector: 'demo-firebase-crashlytics', 7 | templateUrl: 'firebase-crashlytics.component.html', 8 | }) 9 | export class FirebaseCrashlyticsComponent { 10 | 11 | demoShared: DemoSharedFirebaseCrashlytics; 12 | 13 | constructor(private _ngZone: NgZone) {} 14 | 15 | ngOnInit() { 16 | this.demoShared = new DemoSharedFirebaseCrashlytics(); 17 | } 18 | 19 | } -------------------------------------------------------------------------------- /apps/demo-angular/src/plugin-demos/firebase-crashlytics.module.ts: -------------------------------------------------------------------------------- 1 | import { NgModule, NO_ERRORS_SCHEMA } from '@angular/core'; 2 | import { NativeScriptCommonModule, NativeScriptRouterModule } from '@nativescript/angular'; 3 | import { FirebaseCrashlyticsComponent } from './firebase-crashlytics.component'; 4 | 5 | @NgModule({ 6 | imports: [NativeScriptCommonModule, NativeScriptRouterModule.forChild([{ path: '', component: FirebaseCrashlyticsComponent }])], 7 | declarations: [FirebaseCrashlyticsComponent], 8 | schemas: [ NO_ERRORS_SCHEMA] 9 | }) 10 | export class FirebaseCrashlyticsModule {} 11 | -------------------------------------------------------------------------------- /apps/demo-angular/src/plugin-demos/firebase-database.component.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /apps/demo-angular/src/plugin-demos/firebase-database.component.ts: -------------------------------------------------------------------------------- 1 | import { Component, NgZone } from '@angular/core'; 2 | import { DemoSharedFirebaseDatabase } from '@demo/shared'; 3 | import { } from '@nativescript/firebase-database'; 4 | 5 | @Component({ 6 | selector: 'demo-firebase-database', 7 | templateUrl: 'firebase-database.component.html', 8 | }) 9 | export class FirebaseDatabaseComponent { 10 | 11 | demoShared: DemoSharedFirebaseDatabase; 12 | 13 | constructor(private _ngZone: NgZone) {} 14 | 15 | ngOnInit() { 16 | this.demoShared = new DemoSharedFirebaseDatabase(); 17 | } 18 | 19 | } -------------------------------------------------------------------------------- /apps/demo-angular/src/plugin-demos/firebase-database.module.ts: -------------------------------------------------------------------------------- 1 | import { NgModule, NO_ERRORS_SCHEMA } from '@angular/core'; 2 | import { NativeScriptCommonModule, NativeScriptRouterModule } from '@nativescript/angular'; 3 | import { FirebaseDatabaseComponent } from './firebase-database.component'; 4 | 5 | @NgModule({ 6 | imports: [NativeScriptCommonModule, NativeScriptRouterModule.forChild([{ path: '', component: FirebaseDatabaseComponent }])], 7 | declarations: [FirebaseDatabaseComponent], 8 | schemas: [ NO_ERRORS_SCHEMA] 9 | }) 10 | export class FirebaseDatabaseModule {} 11 | -------------------------------------------------------------------------------- /apps/demo-angular/src/plugin-demos/firebase-dynamic-links.component.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /apps/demo-angular/src/plugin-demos/firebase-dynamic-links.component.ts: -------------------------------------------------------------------------------- 1 | import { Component, NgZone } from '@angular/core'; 2 | import { DemoSharedFirebaseDynamicLinks } from '@demo/shared'; 3 | import { } from '@nativescript/firebase-dynamic-links'; 4 | 5 | @Component({ 6 | selector: 'demo-firebase-dynamic-links', 7 | templateUrl: 'firebase-dynamic-links.component.html', 8 | }) 9 | export class FirebaseDynamicLinksComponent { 10 | 11 | demoShared: DemoSharedFirebaseDynamicLinks; 12 | 13 | constructor(private _ngZone: NgZone) {} 14 | 15 | ngOnInit() { 16 | this.demoShared = new DemoSharedFirebaseDynamicLinks(); 17 | } 18 | 19 | } -------------------------------------------------------------------------------- /apps/demo-angular/src/plugin-demos/firebase-dynamic-links.module.ts: -------------------------------------------------------------------------------- 1 | import { NgModule, NO_ERRORS_SCHEMA } from '@angular/core'; 2 | import { NativeScriptCommonModule, NativeScriptRouterModule } from '@nativescript/angular'; 3 | import { FirebaseDynamicLinksComponent } from './firebase-dynamic-links.component'; 4 | 5 | @NgModule({ 6 | imports: [NativeScriptCommonModule, NativeScriptRouterModule.forChild([{ path: '', component: FirebaseDynamicLinksComponent }])], 7 | declarations: [FirebaseDynamicLinksComponent], 8 | schemas: [ NO_ERRORS_SCHEMA] 9 | }) 10 | export class FirebaseDynamicLinksModule {} 11 | -------------------------------------------------------------------------------- /apps/demo-angular/src/plugin-demos/firebase-firestore.component.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /apps/demo-angular/src/plugin-demos/firebase-firestore.component.ts: -------------------------------------------------------------------------------- 1 | import { Component, NgZone } from '@angular/core'; 2 | import { DemoSharedFirebaseFirestore } from '@demo/shared'; 3 | import { } from '@nativescript/firebase-firestore'; 4 | 5 | @Component({ 6 | selector: 'demo-firebase-firestore', 7 | templateUrl: 'firebase-firestore.component.html', 8 | }) 9 | export class FirebaseFirestoreComponent { 10 | 11 | demoShared: DemoSharedFirebaseFirestore; 12 | 13 | constructor(private _ngZone: NgZone) {} 14 | 15 | ngOnInit() { 16 | this.demoShared = new DemoSharedFirebaseFirestore(); 17 | } 18 | 19 | } -------------------------------------------------------------------------------- /apps/demo-angular/src/plugin-demos/firebase-firestore.module.ts: -------------------------------------------------------------------------------- 1 | import { NgModule, NO_ERRORS_SCHEMA } from '@angular/core'; 2 | import { NativeScriptCommonModule, NativeScriptRouterModule } from '@nativescript/angular'; 3 | import { FirebaseFirestoreComponent } from './firebase-firestore.component'; 4 | 5 | @NgModule({ 6 | imports: [NativeScriptCommonModule, NativeScriptRouterModule.forChild([{ path: '', component: FirebaseFirestoreComponent }])], 7 | declarations: [FirebaseFirestoreComponent], 8 | schemas: [ NO_ERRORS_SCHEMA] 9 | }) 10 | export class FirebaseFirestoreModule {} 11 | -------------------------------------------------------------------------------- /apps/demo-angular/src/plugin-demos/firebase-functions.component.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /apps/demo-angular/src/plugin-demos/firebase-functions.component.ts: -------------------------------------------------------------------------------- 1 | import { Component, NgZone } from '@angular/core'; 2 | import { DemoSharedFirebaseFunctions } from '@demo/shared'; 3 | import { } from '@nativescript/firebase-functions'; 4 | 5 | @Component({ 6 | selector: 'demo-firebase-functions', 7 | templateUrl: 'firebase-functions.component.html', 8 | }) 9 | export class FirebaseFunctionsComponent { 10 | 11 | demoShared: DemoSharedFirebaseFunctions; 12 | 13 | constructor(private _ngZone: NgZone) {} 14 | 15 | ngOnInit() { 16 | this.demoShared = new DemoSharedFirebaseFunctions(); 17 | } 18 | 19 | } -------------------------------------------------------------------------------- /apps/demo-angular/src/plugin-demos/firebase-functions.module.ts: -------------------------------------------------------------------------------- 1 | import { NgModule, NO_ERRORS_SCHEMA } from '@angular/core'; 2 | import { NativeScriptCommonModule, NativeScriptRouterModule } from '@nativescript/angular'; 3 | import { FirebaseFunctionsComponent } from './firebase-functions.component'; 4 | 5 | @NgModule({ 6 | imports: [NativeScriptCommonModule, NativeScriptRouterModule.forChild([{ path: '', component: FirebaseFunctionsComponent }])], 7 | declarations: [FirebaseFunctionsComponent], 8 | schemas: [ NO_ERRORS_SCHEMA] 9 | }) 10 | export class FirebaseFunctionsModule {} 11 | -------------------------------------------------------------------------------- /apps/demo-angular/src/plugin-demos/firebase-in-app-messaging.component.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /apps/demo-angular/src/plugin-demos/firebase-in-app-messaging.component.ts: -------------------------------------------------------------------------------- 1 | import { Component, NgZone } from '@angular/core'; 2 | import { DemoSharedFirebaseInAppMessaging } from '@demo/shared'; 3 | import { } from '@nativescript/firebase-in-app-messaging'; 4 | 5 | @Component({ 6 | selector: 'demo-firebase-in-app-messaging', 7 | templateUrl: 'firebase-in-app-messaging.component.html', 8 | }) 9 | export class FirebaseInAppMessagingComponent { 10 | 11 | demoShared: DemoSharedFirebaseInAppMessaging; 12 | 13 | constructor(private _ngZone: NgZone) {} 14 | 15 | ngOnInit() { 16 | this.demoShared = new DemoSharedFirebaseInAppMessaging(); 17 | } 18 | 19 | } -------------------------------------------------------------------------------- /apps/demo-angular/src/plugin-demos/firebase-in-app-messaging.module.ts: -------------------------------------------------------------------------------- 1 | import { NgModule, NO_ERRORS_SCHEMA } from '@angular/core'; 2 | import { NativeScriptCommonModule, NativeScriptRouterModule } from '@nativescript/angular'; 3 | import { FirebaseInAppMessagingComponent } from './firebase-in-app-messaging.component'; 4 | 5 | @NgModule({ 6 | imports: [NativeScriptCommonModule, NativeScriptRouterModule.forChild([{ path: '', component: FirebaseInAppMessagingComponent }])], 7 | declarations: [FirebaseInAppMessagingComponent], 8 | schemas: [ NO_ERRORS_SCHEMA] 9 | }) 10 | export class FirebaseInAppMessagingModule {} 11 | -------------------------------------------------------------------------------- /apps/demo-angular/src/plugin-demos/firebase-installations.component.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /apps/demo-angular/src/plugin-demos/firebase-installations.component.ts: -------------------------------------------------------------------------------- 1 | import { Component, NgZone } from '@angular/core'; 2 | import { DemoSharedFirebaseInstallations } from '@demo/shared'; 3 | import { } from '@nativescript/firebase-installations'; 4 | 5 | @Component({ 6 | selector: 'demo-firebase-installations', 7 | templateUrl: 'firebase-installations.component.html', 8 | }) 9 | export class FirebaseInstallationsComponent { 10 | 11 | demoShared: DemoSharedFirebaseInstallations; 12 | 13 | constructor(private _ngZone: NgZone) {} 14 | 15 | ngOnInit() { 16 | this.demoShared = new DemoSharedFirebaseInstallations(); 17 | } 18 | 19 | } -------------------------------------------------------------------------------- /apps/demo-angular/src/plugin-demos/firebase-installations.module.ts: -------------------------------------------------------------------------------- 1 | import { NgModule, NO_ERRORS_SCHEMA } from '@angular/core'; 2 | import { NativeScriptCommonModule, NativeScriptRouterModule } from '@nativescript/angular'; 3 | import { FirebaseInstallationsComponent } from './firebase-installations.component'; 4 | 5 | @NgModule({ 6 | imports: [NativeScriptCommonModule, NativeScriptRouterModule.forChild([{ path: '', component: FirebaseInstallationsComponent }])], 7 | declarations: [FirebaseInstallationsComponent], 8 | schemas: [ NO_ERRORS_SCHEMA] 9 | }) 10 | export class FirebaseInstallationsModule {} 11 | -------------------------------------------------------------------------------- /apps/demo-angular/src/plugin-demos/firebase-messaging-core.component.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /apps/demo-angular/src/plugin-demos/firebase-messaging-core.component.ts: -------------------------------------------------------------------------------- 1 | import { Component, NgZone } from '@angular/core'; 2 | import { DemoSharedFirebaseMessagingCore } from '@demo/shared'; 3 | import {} from '@nativescript/firebase-messaging-core'; 4 | 5 | @Component({ 6 | selector: 'demo-firebase-messaging-core', 7 | templateUrl: 'firebase-messaging-core.component.html', 8 | }) 9 | export class FirebaseMessagingCoreComponent { 10 | demoShared: DemoSharedFirebaseMessagingCore; 11 | 12 | constructor(private _ngZone: NgZone) {} 13 | 14 | ngOnInit() { 15 | this.demoShared = new DemoSharedFirebaseMessagingCore(); 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /apps/demo-angular/src/plugin-demos/firebase-messaging-core.module.ts: -------------------------------------------------------------------------------- 1 | import { NgModule, NO_ERRORS_SCHEMA } from '@angular/core'; 2 | import { NativeScriptCommonModule, NativeScriptRouterModule } from '@nativescript/angular'; 3 | import { FirebaseMessagingCoreComponent } from './firebase-messaging-core.component'; 4 | 5 | @NgModule({ 6 | imports: [NativeScriptCommonModule, NativeScriptRouterModule.forChild([{ path: '', component: FirebaseMessagingCoreComponent }])], 7 | declarations: [FirebaseMessagingCoreComponent], 8 | schemas: [NO_ERRORS_SCHEMA], 9 | }) 10 | export class FirebaseMessagingCoreModule {} 11 | -------------------------------------------------------------------------------- /apps/demo-angular/src/plugin-demos/firebase-messaging.component.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /apps/demo-angular/src/plugin-demos/firebase-messaging.component.ts: -------------------------------------------------------------------------------- 1 | import { Component, NgZone } from '@angular/core'; 2 | import { DemoSharedFirebaseMessaging } from '@demo/shared'; 3 | import { } from '@nativescript/firebase-messaging'; 4 | 5 | @Component({ 6 | selector: 'demo-firebase-messaging', 7 | templateUrl: 'firebase-messaging.component.html', 8 | }) 9 | export class FirebaseMessagingComponent { 10 | 11 | demoShared: DemoSharedFirebaseMessaging; 12 | 13 | constructor(private _ngZone: NgZone) {} 14 | 15 | ngOnInit() { 16 | this.demoShared = new DemoSharedFirebaseMessaging(); 17 | } 18 | 19 | } -------------------------------------------------------------------------------- /apps/demo-angular/src/plugin-demos/firebase-messaging.module.ts: -------------------------------------------------------------------------------- 1 | import { NgModule, NO_ERRORS_SCHEMA } from '@angular/core'; 2 | import { NativeScriptCommonModule, NativeScriptRouterModule } from '@nativescript/angular'; 3 | import { FirebaseMessagingComponent } from './firebase-messaging.component'; 4 | 5 | @NgModule({ 6 | imports: [NativeScriptCommonModule, NativeScriptRouterModule.forChild([{ path: '', component: FirebaseMessagingComponent }])], 7 | declarations: [FirebaseMessagingComponent], 8 | schemas: [ NO_ERRORS_SCHEMA] 9 | }) 10 | export class FirebaseMessagingModule {} 11 | -------------------------------------------------------------------------------- /apps/demo-angular/src/plugin-demos/firebase-performance.component.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /apps/demo-angular/src/plugin-demos/firebase-performance.component.ts: -------------------------------------------------------------------------------- 1 | import { Component, NgZone } from '@angular/core'; 2 | import { DemoSharedFirebasePerformance } from '@demo/shared'; 3 | import { } from '@nativescript/firebase-performance'; 4 | 5 | @Component({ 6 | selector: 'demo-firebase-performance', 7 | templateUrl: 'firebase-performance.component.html', 8 | }) 9 | export class FirebasePerformanceComponent { 10 | 11 | demoShared: DemoSharedFirebasePerformance; 12 | 13 | constructor(private _ngZone: NgZone) {} 14 | 15 | ngOnInit() { 16 | this.demoShared = new DemoSharedFirebasePerformance(); 17 | } 18 | 19 | } -------------------------------------------------------------------------------- /apps/demo-angular/src/plugin-demos/firebase-performance.module.ts: -------------------------------------------------------------------------------- 1 | import { NgModule, NO_ERRORS_SCHEMA } from '@angular/core'; 2 | import { NativeScriptCommonModule, NativeScriptRouterModule } from '@nativescript/angular'; 3 | import { FirebasePerformanceComponent } from './firebase-performance.component'; 4 | 5 | @NgModule({ 6 | imports: [NativeScriptCommonModule, NativeScriptRouterModule.forChild([{ path: '', component: FirebasePerformanceComponent }])], 7 | declarations: [FirebasePerformanceComponent], 8 | schemas: [ NO_ERRORS_SCHEMA] 9 | }) 10 | export class FirebasePerformanceModule {} 11 | -------------------------------------------------------------------------------- /apps/demo-angular/src/plugin-demos/firebase-remote-config.component.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /apps/demo-angular/src/plugin-demos/firebase-remote-config.component.ts: -------------------------------------------------------------------------------- 1 | import { Component, NgZone } from '@angular/core'; 2 | import { DemoSharedFirebaseRemoteConfig } from '@demo/shared'; 3 | import { } from '@nativescript/firebase-remote-config'; 4 | 5 | @Component({ 6 | selector: 'demo-firebase-remote-config', 7 | templateUrl: 'firebase-remote-config.component.html', 8 | }) 9 | export class FirebaseRemoteConfigComponent { 10 | 11 | demoShared: DemoSharedFirebaseRemoteConfig; 12 | 13 | constructor(private _ngZone: NgZone) {} 14 | 15 | ngOnInit() { 16 | this.demoShared = new DemoSharedFirebaseRemoteConfig(); 17 | } 18 | 19 | } -------------------------------------------------------------------------------- /apps/demo-angular/src/plugin-demos/firebase-remote-config.module.ts: -------------------------------------------------------------------------------- 1 | import { NgModule, NO_ERRORS_SCHEMA } from '@angular/core'; 2 | import { NativeScriptCommonModule, NativeScriptRouterModule } from '@nativescript/angular'; 3 | import { FirebaseRemoteConfigComponent } from './firebase-remote-config.component'; 4 | 5 | @NgModule({ 6 | imports: [NativeScriptCommonModule, NativeScriptRouterModule.forChild([{ path: '', component: FirebaseRemoteConfigComponent }])], 7 | declarations: [FirebaseRemoteConfigComponent], 8 | schemas: [ NO_ERRORS_SCHEMA] 9 | }) 10 | export class FirebaseRemoteConfigModule {} 11 | -------------------------------------------------------------------------------- /apps/demo-angular/src/plugin-demos/firebase-storage.component.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /apps/demo-angular/src/plugin-demos/firebase-storage.component.ts: -------------------------------------------------------------------------------- 1 | import { Component, NgZone } from '@angular/core'; 2 | import { DemoSharedFirebaseStorage } from '@demo/shared'; 3 | import { } from '@nativescript/firebase-storage'; 4 | 5 | @Component({ 6 | selector: 'demo-firebase-storage', 7 | templateUrl: 'firebase-storage.component.html', 8 | }) 9 | export class FirebaseStorageComponent { 10 | 11 | demoShared: DemoSharedFirebaseStorage; 12 | 13 | constructor(private _ngZone: NgZone) {} 14 | 15 | ngOnInit() { 16 | this.demoShared = new DemoSharedFirebaseStorage(); 17 | } 18 | 19 | } -------------------------------------------------------------------------------- /apps/demo-angular/src/plugin-demos/firebase-storage.module.ts: -------------------------------------------------------------------------------- 1 | import { NgModule, NO_ERRORS_SCHEMA } from '@angular/core'; 2 | import { NativeScriptCommonModule, NativeScriptRouterModule } from '@nativescript/angular'; 3 | import { FirebaseStorageComponent } from './firebase-storage.component'; 4 | 5 | @NgModule({ 6 | imports: [NativeScriptCommonModule, NativeScriptRouterModule.forChild([{ path: '', component: FirebaseStorageComponent }])], 7 | declarations: [FirebaseStorageComponent], 8 | schemas: [ NO_ERRORS_SCHEMA] 9 | }) 10 | export class FirebaseStorageModule {} 11 | -------------------------------------------------------------------------------- /apps/demo-angular/src/plugin-demos/firebase-ui.component.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /apps/demo-angular/src/plugin-demos/firebase-ui.component.ts: -------------------------------------------------------------------------------- 1 | import { Component, NgZone } from '@angular/core'; 2 | import { DemoSharedFirebaseUi } from '@demo/shared'; 3 | import {} from '@nativescript/firebase-ui'; 4 | 5 | @Component({ 6 | selector: 'demo-firebase-ui', 7 | templateUrl: 'firebase-ui.component.html', 8 | }) 9 | export class FirebaseUiComponent { 10 | demoShared: DemoSharedFirebaseUi; 11 | 12 | constructor(private _ngZone: NgZone) {} 13 | 14 | ngOnInit() { 15 | this.demoShared = new DemoSharedFirebaseUi(); 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /apps/demo-angular/src/plugin-demos/firebase-ui.module.ts: -------------------------------------------------------------------------------- 1 | import { NgModule, NO_ERRORS_SCHEMA } from '@angular/core'; 2 | import { NativeScriptCommonModule, NativeScriptRouterModule } from '@nativescript/angular'; 3 | import { FirebaseUiComponent } from './firebase-ui.component'; 4 | 5 | @NgModule({ 6 | imports: [NativeScriptCommonModule, NativeScriptRouterModule.forChild([{ path: '', component: FirebaseUiComponent }])], 7 | declarations: [FirebaseUiComponent], 8 | schemas: [NO_ERRORS_SCHEMA], 9 | }) 10 | export class FirebaseUiModule {} 11 | -------------------------------------------------------------------------------- /apps/demo-angular/src/plugin-demos/nativescript-firebase-analytics.component.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /apps/demo-angular/src/plugin-demos/nativescript-firebase-analytics.component.ts: -------------------------------------------------------------------------------- 1 | import { Component, NgZone } from '@angular/core'; 2 | import { DemoSharedNativescriptFirebaseAnalytics } from '@demo/shared'; 3 | import { } from '@nativescript/firebase-analytics'; 4 | 5 | @Component({ 6 | selector: 'demo-firebase-analytics', 7 | templateUrl: 'firebase-analytics.component.html', 8 | }) 9 | export class NativescriptFirebaseAnalyticsComponent { 10 | 11 | demoShared: DemoSharedNativescriptFirebaseAnalytics; 12 | 13 | constructor(private _ngZone: NgZone) {} 14 | 15 | ngOnInit() { 16 | this.demoShared = new DemoSharedNativescriptFirebaseAnalytics(); 17 | } 18 | 19 | } -------------------------------------------------------------------------------- /apps/demo-angular/src/plugin-demos/nativescript-firebase-analytics.module.ts: -------------------------------------------------------------------------------- 1 | import { NgModule, NO_ERRORS_SCHEMA } from '@angular/core'; 2 | import { NativeScriptCommonModule, NativeScriptRouterModule } from '@nativescript/angular'; 3 | import { NativescriptFirebaseAnalyticsComponent } from './firebase-analytics.component'; 4 | 5 | @NgModule({ 6 | imports: [NativeScriptCommonModule, NativeScriptRouterModule.forChild([{ path: '', component: NativescriptFirebaseAnalyticsComponent }])], 7 | declarations: [NativescriptFirebaseAnalyticsComponent], 8 | schemas: [ NO_ERRORS_SCHEMA] 9 | }) 10 | export class NativescriptFirebaseAnalyticsModule {} 11 | -------------------------------------------------------------------------------- /apps/demo-angular/src/polyfills.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * NativeScript Polyfills 3 | */ 4 | 5 | // Install @nativescript/core polyfills (XHR, setTimeout, requestAnimationFrame) 6 | import '@nativescript/core/globals'; 7 | // Install @nativescript/angular specific polyfills 8 | import '@nativescript/angular/polyfills'; 9 | 10 | /** 11 | * Zone.js and patches 12 | */ 13 | // Add pre-zone.js patches needed for the NativeScript platform 14 | import '@nativescript/zone-js/dist/pre-zone-polyfills'; 15 | 16 | // Zone JS is required by default for Angular itself 17 | import 'zone.js'; 18 | 19 | // Add NativeScript specific Zone JS patches 20 | import '@nativescript/zone-js'; 21 | -------------------------------------------------------------------------------- /apps/demo-angular/webpack.config.js: -------------------------------------------------------------------------------- 1 | const webpack = require('@nativescript/webpack'); 2 | const { resolve } = require('path'); 3 | 4 | module.exports = (env) => { 5 | 6 | webpack.init(env); 7 | webpack.useConfig('angular'); 8 | 9 | webpack.chainWebpack((config) => { 10 | // shared demo code 11 | config.resolve.alias.set('@demo/shared', resolve(__dirname, '..', '..', 'tools', 'demo')); 12 | }); 13 | 14 | // Example if you need to share images across demo apps: 15 | // webpack.Utils.addCopyRule({ 16 | // from: '../../../tools/images', 17 | // to: 'images', 18 | // context: webpack.Utils.project.getProjectFilePath('node_modules') 19 | // }); 20 | 21 | return webpack.resolveConfig(); 22 | }; 23 | -------------------------------------------------------------------------------- /apps/demo-vue/.eslintrc.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": ["../../.eslintrc.json"], 3 | "ignorePatterns": ["!**/*", "node_modules/**/*"], 4 | "overrides": [ 5 | { 6 | "files": ["*.ts", "*.tsx", "*.js", "*.jsx"], 7 | "rules": {} 8 | }, 9 | { 10 | "files": ["*.ts", "*.tsx"], 11 | "rules": {} 12 | }, 13 | { 14 | "files": ["*.js", "*.jsx"], 15 | "rules": {} 16 | } 17 | ] 18 | } 19 | -------------------------------------------------------------------------------- /apps/demo-vue/.gitignore: -------------------------------------------------------------------------------- 1 | # NativeScript 2 | hooks/ 3 | node_modules/ 4 | platforms/ 5 | 6 | # Logs 7 | logs 8 | *.log 9 | npm-debug.log* 10 | yarn-debug.log* 11 | yarn-error.log* 12 | 13 | # General 14 | .DS_Store 15 | .AppleDouble 16 | .LSOverride 17 | .idea 18 | .cloud 19 | .project 20 | tmp/ 21 | typings/ 22 | -------------------------------------------------------------------------------- /apps/demo-vue/app/app.scss: -------------------------------------------------------------------------------- 1 | @import 'nativescript-theme-core/scss/light'; 2 | @import 'nativescript-theme-core/scss/index'; 3 | -------------------------------------------------------------------------------- /apps/demo-vue/app/plugin-demos/firebase-analytics.vue: -------------------------------------------------------------------------------- 1 | 12 | 13 | 26 | 27 | 35 | -------------------------------------------------------------------------------- /apps/demo-vue/app/plugin-demos/firebase-app-check-debug.vue: -------------------------------------------------------------------------------- 1 | 12 | 13 | 26 | 27 | 35 | -------------------------------------------------------------------------------- /apps/demo-vue/app/plugin-demos/firebase-app-check.vue: -------------------------------------------------------------------------------- 1 | 12 | 13 | 26 | 27 | 35 | -------------------------------------------------------------------------------- /apps/demo-vue/app/plugin-demos/firebase-auth.vue: -------------------------------------------------------------------------------- 1 | 12 | 13 | 26 | 27 | 35 | -------------------------------------------------------------------------------- /apps/demo-vue/app/plugin-demos/firebase-core.vue: -------------------------------------------------------------------------------- 1 | 12 | 13 | 26 | 27 | 35 | -------------------------------------------------------------------------------- /apps/demo-vue/app/plugin-demos/firebase-crashlytics.vue: -------------------------------------------------------------------------------- 1 | 12 | 13 | 26 | 27 | 35 | -------------------------------------------------------------------------------- /apps/demo-vue/app/plugin-demos/firebase-database.vue: -------------------------------------------------------------------------------- 1 | 12 | 13 | 26 | 27 | 35 | -------------------------------------------------------------------------------- /apps/demo-vue/app/plugin-demos/firebase-dynamic-links.vue: -------------------------------------------------------------------------------- 1 | 12 | 13 | 26 | 27 | 35 | -------------------------------------------------------------------------------- /apps/demo-vue/app/plugin-demos/firebase-firestore.vue: -------------------------------------------------------------------------------- 1 | 12 | 13 | 26 | 27 | 35 | -------------------------------------------------------------------------------- /apps/demo-vue/app/plugin-demos/firebase-functions.vue: -------------------------------------------------------------------------------- 1 | 12 | 13 | 26 | 27 | 35 | -------------------------------------------------------------------------------- /apps/demo-vue/app/plugin-demos/firebase-in-app-messaging.vue: -------------------------------------------------------------------------------- 1 | 12 | 13 | 26 | 27 | 35 | -------------------------------------------------------------------------------- /apps/demo-vue/app/plugin-demos/firebase-installations.vue: -------------------------------------------------------------------------------- 1 | 12 | 13 | 26 | 27 | 35 | -------------------------------------------------------------------------------- /apps/demo-vue/app/plugin-demos/firebase-messaging-core.vue: -------------------------------------------------------------------------------- 1 | 12 | 13 | 26 | 27 | 35 | -------------------------------------------------------------------------------- /apps/demo-vue/app/plugin-demos/firebase-performance.vue: -------------------------------------------------------------------------------- 1 | 12 | 13 | 26 | 27 | 35 | -------------------------------------------------------------------------------- /apps/demo-vue/app/plugin-demos/firebase-remote-config.vue: -------------------------------------------------------------------------------- 1 | 12 | 13 | 26 | 27 | 35 | -------------------------------------------------------------------------------- /apps/demo-vue/app/plugin-demos/firebase-storage.vue: -------------------------------------------------------------------------------- 1 | 12 | 13 | 26 | 27 | 35 | -------------------------------------------------------------------------------- /apps/demo-vue/app/plugin-demos/firebase-ui.vue: -------------------------------------------------------------------------------- 1 | 12 | 13 | 26 | 27 | 35 | -------------------------------------------------------------------------------- /apps/demo-vue/nativescript.config.ts: -------------------------------------------------------------------------------- 1 | import { NativeScriptConfig } from '@nativescript/core'; 2 | 3 | export default { 4 | //id: 'org.nativescript.plugindemovue', 5 | id: 'io.github.triniwiz.nativescript.firebasedemo', 6 | appResourcesPath: '../../tools/assets/App_Resources', 7 | appPath: 'app', 8 | android: { 9 | v8Flags: '--expose_gc', 10 | markingMode: 'none', 11 | }, 12 | } as NativeScriptConfig; 13 | -------------------------------------------------------------------------------- /apps/demo-vue/references.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | /// 3 | -------------------------------------------------------------------------------- /apps/demo-vue/types/shims.vue.d.ts: -------------------------------------------------------------------------------- 1 | declare module '*.vue' { 2 | import Vue from 'vue' 3 | export default Vue 4 | } 5 | -------------------------------------------------------------------------------- /apps/demo-vue/webpack.config.js: -------------------------------------------------------------------------------- 1 | const webpack = require('@nativescript/webpack'); 2 | const { resolve } = require('path'); 3 | 4 | module.exports = (env) => { 5 | 6 | webpack.init(env); 7 | webpack.useConfig('vue'); 8 | 9 | webpack.chainWebpack((config) => { 10 | // shared demo code 11 | config.resolve.alias.set('@demo/shared', resolve(__dirname, '..', '..', 'tools', 'demo')); 12 | }); 13 | 14 | // Example of how to share common images across demo apps: 15 | // webpack.Utils.addCopyRule({ 16 | // from: '../../../tools/images', 17 | // to: 'images', 18 | // context: webpack.Utils.project.getProjectFilePath('node_modules') 19 | // }); 20 | 21 | return webpack.resolveConfig(); 22 | }; 23 | -------------------------------------------------------------------------------- /apps/demo/.eslintrc.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": ["../../.eslintrc.json"], 3 | "ignorePatterns": ["!**/*", "node_modules/**/*"], 4 | "overrides": [ 5 | { 6 | "files": ["*.ts", "*.tsx", "*.js", "*.jsx"], 7 | "rules": {} 8 | }, 9 | { 10 | "files": ["*.ts", "*.tsx"], 11 | "rules": {} 12 | }, 13 | { 14 | "files": ["*.js", "*.jsx"], 15 | "rules": {} 16 | } 17 | ] 18 | } 19 | -------------------------------------------------------------------------------- /apps/demo/.gitignore: -------------------------------------------------------------------------------- 1 | # NativeScript 2 | hooks/ 3 | node_modules/ 4 | platforms/ 5 | 6 | # NativeScript Template 7 | *.js.map 8 | *.js 9 | !webpack.config.js 10 | 11 | # Logs 12 | logs 13 | *.log 14 | npm-debug.log* 15 | yarn-debug.log* 16 | yarn-error.log* 17 | 18 | # General 19 | .DS_Store 20 | .AppleDouble 21 | .LSOverride 22 | .idea 23 | .cloud 24 | .project 25 | tmp/ 26 | typings/ 27 | 28 | # misc 29 | npm-debug.log 30 | 31 | # app 32 | !*.d.ts 33 | !src/assets/fontawesome.min.css 34 | /report/ 35 | .nsbuildinfo 36 | /temp/ 37 | /src/tns_modules/ 38 | 39 | # app uses platform specific scss which can inadvertently get renamed which will cause problems 40 | app/app.scss 41 | 42 | package-lock.json 43 | -------------------------------------------------------------------------------- /apps/demo/nativescript.config.ts: -------------------------------------------------------------------------------- 1 | import { NativeScriptConfig } from '@nativescript/core'; 2 | 3 | export default { 4 | //id: 'org.nativescript.firebasedemo', 5 | id: 'io.github.triniwiz.nativescript.firebasedemo', 6 | appResourcesPath: '../../tools/assets/App_Resources', 7 | android: { 8 | v8Flags: '--expose_gc', 9 | markingMode: 'none', 10 | }, 11 | appPath: 'src', 12 | } as NativeScriptConfig; 13 | -------------------------------------------------------------------------------- /apps/demo/references.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | -------------------------------------------------------------------------------- /apps/demo/src/app-root.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /apps/demo/src/app.scss: -------------------------------------------------------------------------------- 1 | @import 'nativescript-theme-core/scss/light'; 2 | @import 'nativescript-theme-core/scss/index'; -------------------------------------------------------------------------------- /apps/demo/src/main-page.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 |