{"id":20198541,"url":"https://github.com/eclipsesource/tabris-plugin-firebase","last_synced_at":"2025-04-10T10:53:23.506Z","repository":{"id":14772612,"uuid":"75840633","full_name":"eclipsesource/tabris-plugin-firebase","owner":"eclipsesource","description":"A firebase plugin for Tabris.js","archived":false,"fork":false,"pushed_at":"2024-01-18T10:23:54.000Z","size":24081,"stargazers_count":6,"open_issues_count":12,"forks_count":5,"subscribers_count":15,"default_branch":"master","last_synced_at":"2025-03-24T09:47:04.692Z","etag":null,"topics":["android","cordova-plugin","firebase","firebase-cloud-messaging","notifications","tabris","tabris-js"],"latest_commit_sha":null,"homepage":"https://tabrisjs.com","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/eclipsesource.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-12-07T13:54:12.000Z","updated_at":"2022-02-02T12:01:16.000Z","dependencies_parsed_at":"2024-01-18T11:39:05.422Z","dependency_job_id":"8f59e2d6-96e3-45a2-9e4b-4b45078b19f0","html_url":"https://github.com/eclipsesource/tabris-plugin-firebase","commit_stats":{"total_commits":166,"total_committers":10,"mean_commits":16.6,"dds":0.4518072289156626,"last_synced_commit":"f0f555a0789ba56f9b25aaa100275d85de1107bb"},"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eclipsesource%2Ftabris-plugin-firebase","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eclipsesource%2Ftabris-plugin-firebase/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eclipsesource%2Ftabris-plugin-firebase/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eclipsesource%2Ftabris-plugin-firebase/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/eclipsesource","download_url":"https://codeload.github.com/eclipsesource/tabris-plugin-firebase/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247808948,"owners_count":20999802,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["android","cordova-plugin","firebase","firebase-cloud-messaging","notifications","tabris","tabris-js"],"created_at":"2024-11-14T04:32:05.055Z","updated_at":"2025-04-10T10:53:23.486Z","avatar_url":"https://github.com/eclipsesource.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Tabris.js Firebase Plugin\n\nThe `tabris-plugin-firebase` plugin provides a [Tabris.js](https://tabrisjs.com) API to interact with various [firebase](https://firebase.google.com/) features. The plugin supports [firebase cloud messaging](https://firebase.google.com/docs/cloud-messaging/) and [firebase analytics](https://firebase.google.com/docs/analytics/) with support for more features underway.\n\n![Overview](doc/img/overview.png)\n\n## Integrating the plugin\n\nThe Tabris.js website provides detailed information on how to [integrate custom plugins](https://tabrisjs.com/documentation/latest/build#adding-plugins) in your Tabris.js app.\n\n### Add the plugin to your project\n\nThe plugin should be added as an entry in the apps `config.xml` file:\n\n```xml\n\u003c!-- Not yet on npm --\u003e\n\u003cplugin name=\"tabris-plugin-firebase\" spec=\"3.x\" /\u003e\n```\n\nTo fetch the latest development version use the GitHub url:\n\n```xml\n\u003cplugin name=\"tabris-plugin-firebase\" spec=\"https://github.com/eclipsesource/tabris-plugin-firebase.git\" /\u003e\n```\n\n#### Provide the firebase credentials\n\nTo enable firebase support in your app, we have to provide the credential files for Android and iOS. The files can be obtained from the [firebase console](https://console.firebase.google.com).\n\n##### Android\n\nFor Android we have to [include the `google-services.json` file](https://firebase.google.com/docs/android/setup#add_firebase_to_your_app). To make it available to the `tabris-plugins-firebase` you have to place it in the same folder as your apps `config.xml` file. If the file is missing the plugin will print an appropriate error message.\n\n\n##### iOS\n\nFor iOS we have to [include the `GoogleService-Info.plist` file](https://firebase.google.com/docs/ios/setup#add_firebase_to_your_app). To make it available to the `tabris-plugins-firebase` you have to place it in the same folder as your apps `config.xml` file.\n\nIn addition you _have to_ include `GoogleService-Info.plist` file as a [`resource-file`](https://cordova.apache.org/docs/en/latest/config_ref/#resource-file) in the `config.xml`:\n\n```xml\n\u003cplatform name=\"ios\"\u003e\n  \u003cresource-file src=\"GoogleService-Info.plist\" /\u003e\n\u003c/platform\u003e\n```\n\n## Documentation\n\nThe Tabris.js firebase plugin supports the following features:\n\nFeature | Supported platforms\n--- | ---\n[Firebase Cloud Messaging](doc/cloud-messaging.md) | Android, iOS\n[Firebase Analytics](doc/analytics.md) | Android, iOS\n\n## Compatibility\n\nCompatible with [Tabris.js](https://www.npmjs.com/package/tabris) 3.2.\n\n## Plugin development\n\nWhile not required by the consumer of the plugin, this repository provides Android specific development artifacts. These artifacts allow to more easily consume the native source code when developing the native parts of the plugin.\n\n### Android\n\nThe project provides a gradle based build configuration, which also allows to import the project into Android Studio.\n\nIn order to reference the Tabris.js specific APIs, the environment variable `TABRIS_ANDROID_PLATFORM` has to point to the Tabris.js Android Cordova platform root directory.\n\n```bash\nexport TABRIS_ANDROID_PLATFORM=/home/user/tabris-android\n```\n The environment variable is consumed in the gradle projects [build.gradle](project/android/build.gradle) file.\n\n## Copyright\n\nPublished under the terms of the [BSD 3-Clause License](LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feclipsesource%2Ftabris-plugin-firebase","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Feclipsesource%2Ftabris-plugin-firebase","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feclipsesource%2Ftabris-plugin-firebase/lists"}