{"id":21903921,"url":"https://github.com/hansemannn/titanium-firebase-core","last_synced_at":"2025-04-15T20:46:34.492Z","repository":{"id":26016571,"uuid":"107396624","full_name":"hansemannn/titanium-firebase-core","owner":"hansemannn","description":"Use the Firebase Core SDK in the Titanium SDK 🚀","archived":false,"fork":false,"pushed_at":"2024-05-13T15:10:12.000Z","size":168375,"stargazers_count":32,"open_issues_count":4,"forks_count":22,"subscribers_count":12,"default_branch":"main","last_synced_at":"2025-03-29T01:12:31.508Z","etag":null,"topics":["axway","firebase","firebase-core","javascript","native","titanium","titanium-firebase"],"latest_commit_sha":null,"homepage":"","language":"Objective-C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hansemannn.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","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},"funding":{"github":["hansemannn","m1ga"]}},"created_at":"2017-10-18T11:06:47.000Z","updated_at":"2025-02-17T02:45:54.000Z","dependencies_parsed_at":"2024-11-28T15:32:55.653Z","dependency_job_id":"b4ba8cf6-7101-43af-94f0-e20a9381c0f0","html_url":"https://github.com/hansemannn/titanium-firebase-core","commit_stats":null,"previous_names":[],"tags_count":37,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hansemannn%2Ftitanium-firebase-core","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hansemannn%2Ftitanium-firebase-core/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hansemannn%2Ftitanium-firebase-core/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hansemannn%2Ftitanium-firebase-core/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hansemannn","download_url":"https://codeload.github.com/hansemannn/titanium-firebase-core/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249152884,"owners_count":21221320,"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":["axway","firebase","firebase-core","javascript","native","titanium","titanium-firebase"],"created_at":"2024-11-28T15:30:15.028Z","updated_at":"2025-04-15T20:46:34.472Z","avatar_url":"https://github.com/hansemannn.png","language":"Objective-C","funding_links":["https://github.com/sponsors/hansemannn","https://github.com/sponsors/m1ga"],"categories":[],"sub_categories":[],"readme":"# Firebase Core - Titanium Module\nUse the native Firebase SDK in Axway Titanium. This repository is part of the [Titanium Firebase](https://github.com/hansemannn/titanium-firebase) project. This module is \u003cstrong\u003erequired for iOS but not needed anymore for Android\u003c/strong\u003e. Since Ti 9.0.0 gradle will automatically read the configuration (see [Firebase-Core](https://github.com/hansemannn/titanium-firebase#installation))\n\n## Supporting this effort\n\nThe whole Firebase support in Titanium is developed and maintained by the community (`@hansemannn` and `@m1ga`). To keep\nthis project maintained and be able to use the latest Firebase SDK's, please see the \"Sponsor\" button of this repository,\nthank you!\n\n## Requirements\n- [x] Titanium SDK 10.0.0+\n\n## Download\n- [x] [Stable release](https://github.com/hansemannn/titanium-firebase-core/releases)\n- [x] [![gitTio](http://hans-knoechel.de/shields/shield-gittio.svg)](http://gitt.io/component/firebase.core)\n\n## Installation\n\nRead the [Firebase-Core](https://github.com/hansemannn/titanium-firebase#installation) install part if you set up a new project.\n\n## API's\n\n### `FirebaseCore`\n\n#### Methods\n\n##### `configure() -\u003e Boolean`\n\nConfigure Firebase without additional parameters.\n\nReturns `false` if it was already configured or if there was an error.\n\n##### `configure(parameters)`\n\nConfigure Firebase with configuration parameters:\n\n| Name | Type | Component | Platform |\n| - | - | - | - |\n| `file` | String | | *\n\nBy passing the `file` property, you can give a location to the Firebase plist file (usually named \"GoogleService-Info.plist\"), which contains all necessary properties for your Firebase project. This makes all other properties unnecessary. For Android: place the file in `/app/assets/android/` and pass just the filename.\n\nOr you can configure Firebase without a file by passing these parameters:\n\n| Name | Type | Component | Platform |\n| - | - | - | - |\n| `googleAppID` | String | | *\n| `GCMSenderID` | String | Cloud Messaging | *\n| `APIKey` | String | Auth | *\n| `projectID` | String | | *\n| `databaseURL` | String | Real Time Database | *\n| `storageBucket` | String | Storage Bucket | *\n| `bundleID` | String | | iOS\n| `clientID` | String | | iOS\n| `trackingID` | String | | iOS\n| `androidClientID` | String | | iOS\n| `deepLinkURLScheme` | String | | iOS\n| `logLevel` | `LOG_LEVEL_* [ERROR\\|WARNING\\|NOTICE\\|INFO\\|DEBUG]` | | iOS\n| `applicationID` | String | Analytics | Android\n\n## Examples\n\n```js\n// Require the Firebase Core module\nvar FirebaseCore = require('firebase.core');\n\n// Configure your Firebase API's (only required once for all)\n\nFirebaseCore.configure();\t// default google-services.json/GoogleService-Info.plist will be used\n\n// alternative way:\n\nFirebaseCore.configure({\n  APIKey: \"AIYasZBtfJh..........\",\n  projectID: \"test-12345\",\n  storageBucket: \"test-12345.appspot.com\",\n  applicationID: \"1:12345678890:android:abc123efg456\"\n});\n\n// alternative way:\nFirebaseCore.configure({\n  file: \"filename.json\"\n});\n```\n\n## Build\n```js\ncd [ios|android]\nappc run -p [ios|android] --build-only\n```\n\n## iOS notes\n\nIf you are also using [Ti.GoogleSignIn](https://github.com/hansemannn/titanium-google-signin) you will probably\nhave a `duplicate symbols` error. Both `Ti.GoogleSignIn` and this module share some common dependencies.\nIn order to solve this conflict, remove the *GTMSessionFetcher.framework* and *GoogleToolboxForMac.framework* files\nfrom `\u003cYOUR_PROJECT_DIR\u003e/modules/iphone/firebase.core/\u003cVERSION\u003e/platform` and rebuild your app.\n\n## Android notes\n\ncheck [firebase-core](https://github.com/hansemannn/titanium-firebase#%EF%B8%8F-android-notes) for more information.\n\n## Legal\n\nThis module is Copyright (c) 2017-Present by Hans Knöchel. All Rights Reserved.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhansemannn%2Ftitanium-firebase-core","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhansemannn%2Ftitanium-firebase-core","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhansemannn%2Ftitanium-firebase-core/lists"}