{"id":21903836,"url":"https://github.com/hansemannn/titanium-firebase-auth","last_synced_at":"2025-04-15T20:43:32.799Z","repository":{"id":26030859,"uuid":"107144658","full_name":"hansemannn/titanium-firebase-auth","owner":"hansemannn","description":"Use the Firebase Autentication SDK in Axway Titanium 🚀","archived":false,"fork":false,"pushed_at":"2025-03-06T09:31:57.000Z","size":38542,"stargazers_count":7,"open_issues_count":5,"forks_count":8,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-03-29T01:11:57.548Z","etag":null,"topics":["appcelerator","axway","firebase","firebase-auth","javascript","native","titanium"],"latest_commit_sha":null,"homepage":null,"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-16T15:13:21.000Z","updated_at":"2025-03-06T09:30:44.000Z","dependencies_parsed_at":"2024-11-28T15:32:42.479Z","dependency_job_id":"002addd9-1af2-45ef-845f-90a842a886ae","html_url":"https://github.com/hansemannn/titanium-firebase-auth","commit_stats":null,"previous_names":[],"tags_count":13,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hansemannn%2Ftitanium-firebase-auth","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hansemannn%2Ftitanium-firebase-auth/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hansemannn%2Ftitanium-firebase-auth/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hansemannn%2Ftitanium-firebase-auth/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hansemannn","download_url":"https://codeload.github.com/hansemannn/titanium-firebase-auth/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249151945,"owners_count":21221155,"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":["appcelerator","axway","firebase","firebase-auth","javascript","native","titanium"],"created_at":"2024-11-28T15:29:42.185Z","updated_at":"2025-04-15T20:43:32.777Z","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 Auth - 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.\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] The [Firebase Core](https://github.com/hansemannn/titanium-firebase-core) module (iOS only)\n- [x] iOS: Titanium SDK 10.0.0+\n- [x] Android: Titanium SDK 9.0.0+\n\n## Download\n- [x] [Stable release](https://github.com/hansemannn/titanium-firebase-auth/releases)\n- [x] [![gitTio](http://hans-knoechel.de/shields/shield-gittio.svg)](http://gitt.io/component/firebase.auth)\n\n## API's\n\n### `FirebaseAuth`\n\n#### Methods (*Arguments TBA*)\n\n##### `fetchProviders(parameters)` (Dictionary)\n\n##### `createUserWithEmail(parameters)` (Dictionary)\n\n##### `signInWithEmail(parameters)` (Dictionary)\n\n##### `signOut(parameters)` (Dictionary)\n\n##### `signInWithCredential(parameters)` (Dictionary)\n\n##### `createCredential(parameters)` (Dictionary)\n\n##### `signInAnonymously(parameters)` (Dictionary)\n\n##### `signInWithCustomToken(parameters)`\n\n##### `signInAndRetrieveDataWithCredential(parameters)` (Dictionary, iOS-only)\n\n##### `sendPasswordResetWithEmail(parameters)` (Dictionary)\n\n##### `confirmPasswordResetWithCode(parameters)` (Dictionary, iOS-only)\n\n##### `checkActionCode(parameters)` (Dictionary)\n\n##### `verifyPasswordResetCode(parameters)` (Dictionary, iOS-only)\n\n##### `applyActionCode(parameters)` (Dictionary, iOS-only)\n\n##### `addAuthStateDidChangeListener(callback)` (Function, iOS-only)\n\n##### `removeAuthStateDidChangeListener()`  (iOS-only)\n\n##### `addIDTokenDidChangeListener(callback)` (Function, iOS-only)\n\n##### `removeIDTokenDidChangeListener()` (iOS-only)\n\n##### `fetchIDToken(forceRefresh, callback)` (Boolean, Function, Android-only)\n\n#### Properties\n\n##### `currentUser` (Dictionary, get)\n\n##### `languageCode` (String, get)\n\n##### `apnsToken` (Ti.Blob, get, iOS-only)\n\n- For Android, use `fetchIDToken(forceRefresh, callback)`\n\n### FirebaseAuth.AuthCredential\n\nVirtual Type to be used in `signInWithCredential`. Create with `createCredential(parameters)`.\n\n## Example\n```js\n// Require the Firebase Auth module\nvar FirebaseAuth = require('firebase.auth');\n\n\n// Sign-up\nFirebaseAuth.createUserWithEmail({\n\temail: 'john@doe.com',\n\tpassword: 't1r0ck$!',\n\tcallback: function(e) {\n\t\tif (!e.success) {\n\t\t\tTi.API.error('Create: error: ' + JSON.stringify(e));\n\t\t\treturn;\n\t\t}\n\n\t\tTi.API.info('Create: success!');\n\t\tTi.API.info(JSON.stringify(e.user));\n\t}\n});\n\n\n// Login\nFirebaseAuth.signInWithEmail({\n  email: 'john@doe.com',\n  password: 't1r0ck$!',\n  callback: function(e) {\n    if (!e.success) {\n      Ti.API.error('Error: ' + JSON.stringify(e));\n      return;\n    }\n\n    Ti.API.info('Success!');\n    Ti.API.info(JSON.stringify(e.user));\t// e.g.  {\"uid\":\"...\",\"photoURL\":null,\"phoneNumber\":null,\"email\":\"...\",\"providerID\":\"...\",\"displayName\":null}\n\n  }\n});\n```\n\n## Build\n```js\ncd ios\nappc ti build -p ios --build-only\n```\n\n## Legal\n\nThis module is Copyright (c) 2017-Present by Appcelerator, Inc. All Rights Reserved.\nUsage of this module is subject to the Terms of Service agreement with Appcelerator, Inc.  \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhansemannn%2Ftitanium-firebase-auth","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhansemannn%2Ftitanium-firebase-auth","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhansemannn%2Ftitanium-firebase-auth/lists"}