Sebastian Diaz
I paid vía paypal, i'm waiting for instructions for test, best regards. Sebastian.
GKM
Hi Sebastian, I will be sending you the instructions via email in a minute. Thank you :)
Sebastian Diaz
Thank you Gustavo!
Starter project for latest version of Firebase native oAuth authentication with Facebook, Twitter, GooglePlus, Anonymous and Email/password
PDF document provided with setup instructions.
Hey there! You'll need to log in before you can leave a comment here.
I paid vía paypal, i'm waiting for instructions for test, best regards. Sebastian.
Hi Sebastian, I will be sending you the instructions via email in a minute. Thank you :)
Thank you Gustavo!
The app works perfect! Gustavo gives u a excellent and quickly antention. I recommend this starter. Thank you Gustavo, best regards. Sebastian.
Hi i'm just waiting for instructions as well for a test, thanks
Hi Albert, I've sent you an email with the source code and instructions, let me know if you have received. Thanks
I'm waiting for instructions. I paid with Paypal. Cheers!
Hi Florian. I have sent you the instructions yesterday. Can you double check your email? Let me know if you haven't got it. Cheers
I i paid with Paypal i am waiting for my download link
Hi Pedro, I have sent the files in the email you have registered the payment in your PayPal account.. Let me know if you have any problems Cheers,
I get it now Gustavo thank you Cheers,
Gustavo i send to you an email for this suport: If i test my App in my iphone with ionic preview and press on facebook login button, this show me the popup and then popup dont desappear with message Logging with facebook any more, and i can`t log in . How can i resolve this issue? Best regards
Sure Pedro, I will look into that issue and update you as soon as I can. Cheers
Sure Pedro, I will look into that issue and update you as soon as I can. Cheers
I i paid with Paypal i am waiting for my download link
Hi Willian I've sent the latest sorce code for you via email. I will look into the issue you've reported in regards the Facebook login. Thanks!
Hi, I purchased via Paypal but still haven't received any confirmation email pr download link.
Hi there, could you please send me an email to gustavokm90@gmail.com so that I can confirm if I already sent you? Sometime the email goes to spam since it contains a zip with all files. Thanks
I purchased with Paypal a couple days ago and still haven't received anything. Sent you an email as well.
Should have read the response to Blaucast below, found it in my spam Thanks!
I'm glad you found it :). Let me know of you have any questions. Thanks
Gustavo, I bought this but haven't received anything yet. I hope you can help soon. thanks
Hi Juan. I will be sending you the files soon. Thanks
Done, Let me know if you have received.
got it! thanks for the prompt response
Hello, just purchased and am awaiting the files... Thank you.
Hi there, I will be sending the files soon. Thanks!
hello, I bought! Waiting the files, Thank you ^^
Hi there, Thanks for that, I will send you the files in a few minutes. Cheers,
Hi! Once purchased, is it possibile That it appears on purchases? How are updates handled? Thanks
Hi Blosher Unfortunately since my country doesn't have Stripe it's not possible to this template be shown at the purchased page since it needs to be purchased externally via PayPal. Updates are handled on manually and on demand, if you need an update, send me and email and I will provide you the latest code. Thanks Gus
Ok! I purchased it and sent an email to gustavokm90 gmail Thanks
I've got your email, files have been sent. thanks! :)
Stripe payment method has been added to this template. Feel free to send me an email if you have any problem with it.
Hi Gustavo, does this app have the option to import user's facebook information automatically to his profile and to firebase database?
Hi, after login a object with all information returned by the oauth is created. Therefore you can do whatever you please with it. The app only saved the email and avatar into Firebase, however you can easily add more fields if you need.
Thanks for your reply, do you have the option to store Facebook's uid too? because I think it's important when sending requests to facebook graph api
I'm just asking if it's one of the fields I would have control on :)
Yes you have full control over the fields returned by the oauth
Hey Gustavo, I wanted to buy this template, but I bought the other one by mistake. You know what I can do so I can switch between the two?
Hi, I will send you an email, so we can discuss. Cheers,
dear gustavo I could not make it without you my starter app Thank you for the quick answers.
Hi, does this work with the latest ionic. I get firebase undefined in the user.ts file, think it is a typescript issue. Can you create a build for the latest ionic/angularfire2/firebase ?
I put import * as firebase from 'firebase'; at the top of users.ts and authenticator.ts and seems to be working now.
Great catching grendo. Im planning to realease a new version this week. Thanks
Hi, just having a bit of trouble getting google authentication working with google/android. In the instructions it says to add the SHA1 to the enable google sign in. I created the SHA1 but I am not sure where to put it. Do you have a screenshot or can you expand this bit as I can not seem to find an option in the firebase admin screens for this. Thanks.
Hi grendo, I've sent you and email with more details how to add the SHA-1 to the Android project in Firebase. I've also updated the instructions in the version 1.0.7. Let me know if you have any other question.
Hi, trying to get the google auth working on android. I am getting "Failed to login 12501". Can't work out what I have wrong. Any ideas how to troubleshoot ? The cordova plugin mentioned about getting the app id from config.xml the same as the bundles when you set up an ios and android app in firebase which I have done. Screenshots of all the firebase setup would help. Also can I suggest a small tweak so you do not have to comment out browser and device mode in the signin method signInWithOAuth(provider: string) { //INFO: Change this method to enable/disable browser modeplatform let signinPromise: Promise<FirebaseAuthState>; if(this.platform.is('cordova')) { signinPromise=this.authenticator.signInWithOAuth(provider); } else { signinPromise=this.authenticator.signInWithOAuthBrowserMode(provider); } // this.authenticator.signInWithOAuth(provider) signinPromise .then((user) => { this.doSomethingAfterUserLogin(user); }) .catch((e) => { let prompt = this.alertCtrl.create({ title: 'Error', message: `Failed to login ${e}`, buttons: [{ text: 'Ok' }] }); prompt.present(); }); }
got google going. I had to enable google plus in the google console. I expected firebase would do that when I enable google authentication in the firebase console.
Oh, I'm glad you did it. Yea, it's a bit tricky some times, some small things you have a to do, and the error codes from Google doesn't help too much haha. Thanks for the suggestion on the browser/device mode, I will surely add that in the next version. Cheers,
On running > ionic state restore I am getting > Couldn't find ionic.config.json file. Are you in an Ionic project? What should I do?
Ignore this comment, actually forgot to execute: ionic start StarterFirebasePackV2 blank --v2 Feeling dumb, but can't even delete my comment :-)
oh, hi! no worries haha, feel free to ask any question :) You can email me if you prefer.
I believe I have followed the steps you mentioned exactly, and here is the issue I am getting on running ionic serve: :giftish rkalra$ ionic serve Running 'serve:before' npm script before serve > ionic-hello-world@ watch /Users/rkalra/coding/codebase/ionic/projects/giftish > ionic-app-scripts watch [15:14:02] ionic-app-scripts 1.0.0 [15:14:02] watch started ... [15:14:02] build dev started ... [15:14:02] clean started ... [15:14:02] clean finished in 4 ms [15:14:02] copy started ... [15:14:02] transpile started ... [15:14:05] typescript: node_modules/angularfire2/node_modules/firebase/firebase.d.ts, line: 12 Duplicate identifier 'Promise'. [15:14:05] typescript: node_modules/firebase/firebase.d.ts, line: 165 [15:14:05] typescript: node_modules/firebase/firebase.d.ts, line: 170 [15:14:05] typescript: node_modules/firebase/firebase.d.ts, line: 176 L11: static reject(error: Error): firebase.Promise<any>; L12: static resolve<T>(value?: T): firebase.Promise<T>; Duplicate identifier 'Promise_Instance'. L16: resolver: L17: (a?: (a: T) => undefined, b?: (a: Error) => undefined) => any); L18: catch (onReject?: (a: Error) => any): firebase.Thenable<any>;
hmm can you change your package.json file in the line 28, to lock the firebase version to ~3.3.0? "firebase": "~3.3.0"
I just downgraded firebase and angularfire2 version to: "angularfire2": "^2.0.0-beta.4", "firebase": "^3.6.6", And the issue is resolved now. Can you please check why is this an issue with latest versions, which are mentioned in your package.json.
Cool, that happens because the the old version of firebase doesn't have the definition file, therefore the guys from Angularfire2 has added the firebase.d.ts in their source code. However, the newer version of firebase now comes with the definition file, cause the duplication error when trying to use with the version of angularfire2 that also has the definition file. The next version of Angularfire2 (beta.7) will probably have the firebase.d.ts file removed, but for now we can workaround by using the version firebase ~3.3.0 and angularfire 2.0.0-beta.6. I hope I was clear, I'ver also updated the project file including this fix.
The template works perfectly. I had a little problem setting it up and the developer solve my problem quickly! 100% recommended!
This is great! Might be exactly what I've been looking for. Are all the instructions on how to setup the app for each social login included? Is this written using typescript?
Hi Jesus, Yes, instructions are all included, for each individual oAuth provider (Facebook, GooglePlus and twitter). It is written on Typescript. Thanks
Picking this up now! I'm not new to Ionic/Angular but I'm new to typescript, so here goes!
Sweet, It pretty similar to javascript, you will be fine :). If you have any question feel free to ask.
Jesus, the version 1.0.9 was missing the package.json file. I have just released a new version with the file now. Please download the latest one 1.0.10. Cheers,
I figured it out, but I'll pick up the new one! ;) You're the man, I stumbled around for a while online but you made it easy. I'll probably have some questions about Android setup, it'll be the first time I'm building for both. :)
Do the update!
What do you mean?
I'm going to buy this model, I liked it. :]
I just bought your code, Please let me know how can i get my product...
Hi praveen. I will send you the source via email in the next minutes. Thanks ☺
Not received yet...
I've just sent you the files, sorry for the delay, it's still early in the morning here, I just wake up. Let me know if you have received it ok.
hey, i just bought your code. In the Browser everything works great and also the normal Login in the App is successfull. The problem is the Login with Facebook on an Android device. The Login is successfull but the firebase Database is not filled. In the log the error "Facebook Login Failure: TypeError: Cannot read property 'uid' of undefined at AuthenticatorService.saveUserDetails" is thrown. (authenticator.ts line 180) Would be nice if you could send me a workaround for this
okay i found the error, signInWithOAuthBrowserMode() passes an user array with an user array inside, signInWithOAuth() just an user array. So with browser user.user.uid ist found, with oAuth its user.uid instead
Hi Stefan, sorry about that. I will push a new build with the fix for this issue. Thanks for finding a solution ans reporting.
Hi, just purchased your code, to try out Ionic. The instructions refers to Ionic 2.2.3, might make no difference when running 3.x as your updated code supports this? Is there a version number somewhere in your code (2.0.2). When running the following command "ionic plugin add cordova-plugin-facebook4 --save..." --> "The plugin command has been renamed. To find out more, run: ionic cordova plugin --help" What's the correct command?
Hi Jonas, Ionic and Ionic-cli are 2 different things. We have updated the ionic framework to use the version 3, however the Ionic CLI is still on version 2.x. I will update the docs to the new version of Ionic cli tonight. Thanks for the feedback,
Hello, we just bought your code. the oauth google works in the browser with ionic serve but when i build it in android that does'nt work on my device. what is the issue?
What error did you get?
User not logged in main.js:1362 ERROR Error: Uncaught (in promise): 10 at c (polyfills.js:3) at c (polyfills.js:3) at polyfills.js:3 at t.invokeTask (polyfills.js:3) at Object.onInvokeTask (main.js:4397) at t.invokeTask (polyfills.js:3) at r.runTask (polyfills.js:3) at o (polyfills.js:3) at <anonymous>
and the app take so much time to launch and i got this in the console : Angular is running in the development mode. Call enableProdMode() to enable the production mode. cordova.js:1223 deviceready has not fired after 5 seconds. main.js:110414 Ionic Native: deviceready event fired after 5128 ms
would you mind send me your project so I can have a look? It's kinda hard to debug by looking to the details you've provided.
Done
I would like to buy this but I have one question, does it support multiple account linking? Can I link my google, facebook, ... to one account with the same email address?
Hi there. No it doesn't have the feature of linking multiple accounts. Cheers
Hi Gustavo. I just bought your code, Please let me know how can i get the code. Thanks
Got it. Thank you!
Hey, Documents say to check the "end of this document" to test the app on a real device, but the docs don't contain any guidance about this? App works well in browser environment for Facebook/Google/Anonymous social logins.
Hi Ashton, This is now automatically set in the code via Cordova Platform plugin. You just need to deploy to a device and it should work.
Quick note to say thanks for the help Gustavo...very quick reply :).
Hello, I manage to run, but the iOS emulator crashes with assertion failed: 16G29 15A372: libxpc.dylib + 69578 [D870A237-D3A7-31F5-AAD4-CE880C0C8E7B]: 0x7d (iPhone X) Do you know if this should work?
Hi there, I haven't tried to run on the iPhone X. I will give it a go tonight and get back to you. Cheers,
Thank you!!
Hello Gustavo, Were you already able to perform the test for iPhone X / iOS 11?
Hi Pascal, yes, it worked perfectly to me. iPhone X using xCode 9.0
Hi, I would like to know if this plugin works for the below cases. If it does, then i want to purchase this plugin. I have my own database, where i will store the responses coming from Facebook, LinkedIn, and Google Plus. I need authentication for the below: a. Facebook - Native; If Facebook app is not installed, then the authentication should happen from inappbrowser b. Google plus - Native; If Google plus app is not installed, then the authentication should happen from inappbrowser c. LinkedIn - Native; If LinkedIn app is not installed, then the authentication should happen from inappbrowser The above should work for both android and ios. Please confirm
Hi, This starter template only implement the native oAuth sign up thru Firebase using Facebook, Google Plus and Twitter.
While logging in with email and password, it overwrites the `fullName` set during registration to "Anonymous" and `provider` changes to password, is this an error? Thank you for the starter
Hi, how to convert anonymous account to a permanent account? can you add this functionality in the source code?
Hi luigi, I haven't added this functionality into this starter yet. I'm planning to do so over the next releases. Thanks for your comments.
In the login screen the menu is released, it has to block for the user no access to dashbord.
Hi Gus, How are you? I see the instructions concerning setting up the authorizations for all the platforms. Are there any instructions concerning setting up the login, etc. screens. Thanks in advance. eric.thompsonii@gmail.com
Hi Eric! I'm not sure if I understood question. All the source code related to the screens are already implemented therefore the only instructions around them is to run the application `ionic serve`. Let me know if you have any other question.
Thanks so much for your speedy reply! Quick question, I tried to setup up the starter as "tabs" but it still stuck everything in the sidemenu...is there a way to work around that?
Hello, I'm not getting the Ionic 4 and Angular 5 version. I keep downloading something with angularfire2. Please assist.
Nevermind, got it
Hello. Just purchased but the plugin / ionic versions in your project are really old. Ionic is out of beta and now at 4.1 Similarly, Ionic router is at 7, whereas your package is still at 6 & Facebook native plugins are also several versions old. Please provide an upgraded versions, at least at a stable (non-beta), otherwise my purchase becomes useless for production use !
Hi dhaval, a new version of this starter template is coming up soon, I will keep you posted. Thanks!
v4.1.0 is out
Great. appreciate the prompt reply & testing it out. FYI - The instructions pdf seems missing in this 4.1.0 update, so i'll extract it from the previous release for now. Perhaps it needs to be added in ?
all done thanks!
Anyway to get an older version
Which version do you need?
Ionic 3, Angular 4
and sorry my english!
hello, I finished payed, but I don't know how I make the download with template, tanks
I've sent you an email - thanks
Hi Gus ,i am willing to purchase this module for my app which i am developing on ionic 4.1 version.I didn't see any option to confirm the ionic version to package the code accordingly.I assume i will get all the necessary instruction and details (according to ionic 4.1 version) once i make the payment .Kindly confirm . Veer Abhinav (veerabhinavofficial@gmail.com)
Hi, I finished payed, but https://market.ionicframework.com show me a error on download page :( From Email Receipt #1705-3979 AMOUNT PAID $10 DATE PAID October 16, 2019 PAYMENT METHOD Mastercard – 4257
Hi @Gus I downloaded your code and seems to be really awesome! I get the first steps very fast. But although using the email/password way the app login successfully, the console give an error "Unhandled Promise rejection: PERMISSION_DENIED: Permission denied ; Zone: <root> ; Task: WebSocket.addEventListener:message ; Value: Error: PERMISSION_DENIED: Permission denied" and don't let me use the chat. The signup & login works fine because if I try to login with a wrong password the system show me the right message. Could you offer me any clue? Thank you in advance
More info about the error: @firebase/database: FIREBASE WARNING: set at /users/{Google ID} failed: permission_denied
Fixed! a database must be created in Firebase (Realtime, not Firestore) and open the permissions to allow the access
Hi , I purchased the latest one, can I get the older release i.e. versions 3.0.0 - Ionic 3.9 + Firebase 5
Whats your email?
emailed you with this comment link
Hola, este modulo me servira para angular 9 - ionic 5
Hi Gus, Thanks for your template. I'm trying to get things working, but ionic serve is giving me a blank page and the console provides an error "Error: Can't resolve all parameters for Loader: (?)." Whatever issues are in Loader service might be in AuthenticatorService also. I'm using the latest Ionic. Please advise, thank you.
Hi Sep, Did you find your way past that Loader error? I'm stuck there, seeing the same thing.
Hi, I have the same error, any idea?
No, had to abandon
Did any of you get a resolution on this error?
Hi Gus, I get the same error as Sep Dadsetan --> "Error: Can't resolve all parameters for Loader: (?)." Can you help me?
Hello i have some issues with the direct link on the platform, can you send me the last version ?
Hi there, I am also receiving the error below "Error: Can't resolve all parameters for Loader: (?)." Is there a fix for this yet?
After much trial and error, I got this working. Some tips coming from a new ionic developer running on windows: Use NVM. My node -v is 14.15.3 and npm -v is 6.14.9. After that, make sure you're running as an administrator and you have python installed for the package install. Issues after that were all package based. Here's what's working for me: "dependencies": { "@angular/common": "^11.0.7", "@angular/core": "^11.0.7", "@angular/fire": "^6.1.4", "@angular/forms": "^11.0.7", "@angular/http": "^7.2.2", "@angular/platform-browser": "^11.0.7", "@angular/platform-browser-dynamic": "^11.0.7", "@angular/router": "^11.0.7", "@ionic-native/core": "^5.0.0", "@ionic-native/facebook": "^5.8.0", "@ionic-native/google-plus": "^5.8.0", "@ionic-native/splash-screen": "^5.0.0", "@ionic-native/status-bar": "^5.0.0", "@ionic-native/twitter-connect": "^5.8.0", "@ionic/angular": "^4.1.0", "core-js": "^2.5.4", "firebase": "^8.2.2", "rxjs": "~6.5.1", "tslib": "^1.9.0", "zone.js": "~0.10.3" }, "devDependencies": { "@angular-devkit/architect": "~0.13.8", "@angular-devkit/build-angular": "^0.1100.6", "@angular-devkit/core": "~7.3.8", "@angular-devkit/schematics": "~7.3.8", "@angular/cli": "^11.0.6", "@angular/compiler": "^11.0.7", "@angular/compiler-cli": "^11.0.7", "@angular/language-service": "~11.0.7", "@ionic/angular-toolkit": "~1.5.1", "@types/jasmine": "~2.8.8", "@types/jasminewd2": "~2.0.3", "@types/node": "^14.14.2", "codelyzer": "~4.5.0", "cordova-android": "^9.0.0", "cordova-ios": "^6.1.1", "cordova-plugin-device": "^2.0.3", "cordova-plugin-facebook4": "^4.2.1", "cordova-plugin-googleplus": "^7.0.2", "cordova-plugin-ionic-keyboard": "^2.2.0", "cordova-plugin-ionic-webview": "^4.2.1", "cordova-plugin-splashscreen": "^5.0.4", "cordova-plugin-statusbar": "^2.4.3", "cordova-plugin-whitelist": "^1.3.4", "jasmine-core": "~2.99.1", "jasmine-spec-reporter": "~4.2.1", "karma": "~4.1.0", "karma-chrome-launcher": "~2.2.0", "karma-coverage-istanbul-reporter": "~2.0.1", "karma-jasmine": "~1.1.2", "karma-jasmine-html-reporter": "^0.2.2", "node-pre-gyp": "0.17.0", "protractor": "~5.4.0", "ts-node": "~8.3.0", "tslint": "~5.17.0", "twitter-connect-plugin": "^0.6.0", "typescript": "~4.0.5" }
Sorry for the formatting. These comments don't like whitespace very much.
Hi there, I am also receiving the error below "Error: Can't resolve all parameters for Loader: (?)." Is there a fix for this yet?
After much trial and error, I got this working. Some tips coming from a new ionic developer running on windows: Use NVM. My node -v is 14.15.3 and npm -v is 6.14.9. After that, make sure you're running as an administrator and you have python installed for the package install. Issues after that were all package based. Here's what's working for me: "dependencies": { "@angular/common": "^11.0.7", "@angular/core": "^11.0.7", "@angular/fire": "^6.1.4", "@angular/forms": "^11.0.7", "@angular/http": "^7.2.2", "@angular/platform-browser": "^11.0.7", "@angular/platform-browser-dynamic": "^11.0.7", "@angular/router": "^11.0.7", "@ionic-native/core": "^5.0.0", "@ionic-native/facebook": "^5.8.0", "@ionic-native/google-plus": "^5.8.0", "@ionic-native/splash-screen": "^5.0.0", "@ionic-native/status-bar": "^5.0.0", "@ionic-native/twitter-connect": "^5.8.0", "@ionic/angular": "^4.1.0", "core-js": "^2.5.4", "firebase": "^8.2.2", "rxjs": "~6.5.1", "tslib": "^1.9.0", "zone.js": "~0.10.3" }, "devDependencies": { "@angular-devkit/architect": "~0.13.8", "@angular-devkit/build-angular": "^0.1100.6", "@angular-devkit/core": "~7.3.8", "@angular-devkit/schematics": "~7.3.8", "@angular/cli": "^11.0.6", "@angular/compiler": "^11.0.7", "@angular/compiler-cli": "^11.0.7", "@angular/language-service": "~11.0.7", "@ionic/angular-toolkit": "~1.5.1", "@types/jasmine": "~2.8.8", "@types/jasminewd2": "~2.0.3", "@types/node": "^14.14.2", "codelyzer": "~4.5.0", "cordova-android": "^9.0.0", "cordova-ios": "^6.1.1", "cordova-plugin-device": "^2.0.3", "cordova-plugin-facebook4": "^4.2.1", "cordova-plugin-googleplus": "^7.0.2", "cordova-plugin-ionic-keyboard": "^2.2.0", "cordova-plugin-ionic-webview": "^4.2.1", "cordova-plugin-splashscreen": "^5.0.4", "cordova-plugin-statusbar": "^2.4.3", "cordova-plugin-whitelist": "^1.3.4", "jasmine-core": "~2.99.1", "jasmine-spec-reporter": "~4.2.1", "karma": "~4.1.0", "karma-chrome-launcher": "~2.2.0", "karma-coverage-istanbul-reporter": "~2.0.1", "karma-jasmine": "~1.1.2", "karma-jasmine-html-reporter": "^0.2.2", "node-pre-gyp": "0.17.0", "protractor": "~5.4.0", "ts-node": "~8.3.0", "tslint": "~5.17.0", "twitter-connect-plugin": "^0.6.0", "typescript": "~4.0.5" }
Sorry for the formatting. These comments don't like whitespace very much.
Hello i have some issues with the direct link on the platform, can you send me the last version ?
Hi Gus, I get the same error as Sep Dadsetan --> "Error: Can't resolve all parameters for Loader: (?)." Can you help me?
Hi Gus, Thanks for your template. I'm trying to get things working, but ionic serve is giving me a blank page and the console provides an error "Error: Can't resolve all parameters for Loader: (?)." Whatever issues are in Loader service might be in AuthenticatorService also. I'm using the latest Ionic. Please advise, thank you.
Hi Sep, Did you find your way past that Loader error? I'm stuck there, seeing the same thing.
Hi, I have the same error, any idea?
No, had to abandon
Did any of you get a resolution on this error?
Hola, este modulo me servira para angular 9 - ionic 5
Hi , I purchased the latest one, can I get the older release i.e. versions 3.0.0 - Ionic 3.9 + Firebase 5
Whats your email?
emailed you with this comment link
Hi @Gus I downloaded your code and seems to be really awesome! I get the first steps very fast. But although using the email/password way the app login successfully, the console give an error "Unhandled Promise rejection: PERMISSION_DENIED: Permission denied ; Zone: <root> ; Task: WebSocket.addEventListener:message ; Value: Error: PERMISSION_DENIED: Permission denied" and don't let me use the chat. The signup & login works fine because if I try to login with a wrong password the system show me the right message. Could you offer me any clue? Thank you in advance
More info about the error: @firebase/database: FIREBASE WARNING: set at /users/{Google ID} failed: permission_denied
Fixed! a database must be created in Firebase (Realtime, not Firestore) and open the permissions to allow the access
Hi, I finished payed, but https://market.ionicframework.com show me a error on download page :( From Email Receipt #1705-3979 AMOUNT PAID $10 DATE PAID October 16, 2019 PAYMENT METHOD Mastercard – 4257
Hi Gus ,i am willing to purchase this module for my app which i am developing on ionic 4.1 version.I didn't see any option to confirm the ionic version to package the code accordingly.I assume i will get all the necessary instruction and details (according to ionic 4.1 version) once i make the payment .Kindly confirm . Veer Abhinav (veerabhinavofficial@gmail.com)
hello, I finished payed, but I don't know how I make the download with template, tanks
I've sent you an email - thanks
Anyway to get an older version
Which version do you need?
Ionic 3, Angular 4
and sorry my english!
Hello. Just purchased but the plugin / ionic versions in your project are really old. Ionic is out of beta and now at 4.1 Similarly, Ionic router is at 7, whereas your package is still at 6 & Facebook native plugins are also several versions old. Please provide an upgraded versions, at least at a stable (non-beta), otherwise my purchase becomes useless for production use !
Hi dhaval, a new version of this starter template is coming up soon, I will keep you posted. Thanks!
v4.1.0 is out
Great. appreciate the prompt reply & testing it out. FYI - The instructions pdf seems missing in this 4.1.0 update, so i'll extract it from the previous release for now. Perhaps it needs to be added in ?
all done thanks!
Hello, I'm not getting the Ionic 4 and Angular 5 version. I keep downloading something with angularfire2. Please assist.
Nevermind, got it
Hi Gus, How are you? I see the instructions concerning setting up the authorizations for all the platforms. Are there any instructions concerning setting up the login, etc. screens. Thanks in advance. eric.thompsonii@gmail.com
Hi Eric! I'm not sure if I understood question. All the source code related to the screens are already implemented therefore the only instructions around them is to run the application `ionic serve`. Let me know if you have any other question.
Thanks so much for your speedy reply! Quick question, I tried to setup up the starter as "tabs" but it still stuck everything in the sidemenu...is there a way to work around that?
In the login screen the menu is released, it has to block for the user no access to dashbord.
Hi, how to convert anonymous account to a permanent account? can you add this functionality in the source code?
Hi luigi, I haven't added this functionality into this starter yet. I'm planning to do so over the next releases. Thanks for your comments.
While logging in with email and password, it overwrites the `fullName` set during registration to "Anonymous" and `provider` changes to password, is this an error? Thank you for the starter
Hi, I would like to know if this plugin works for the below cases. If it does, then i want to purchase this plugin. I have my own database, where i will store the responses coming from Facebook, LinkedIn, and Google Plus. I need authentication for the below: a. Facebook - Native; If Facebook app is not installed, then the authentication should happen from inappbrowser b. Google plus - Native; If Google plus app is not installed, then the authentication should happen from inappbrowser c. LinkedIn - Native; If LinkedIn app is not installed, then the authentication should happen from inappbrowser The above should work for both android and ios. Please confirm
Hi, This starter template only implement the native oAuth sign up thru Firebase using Facebook, Google Plus and Twitter.
Hello, I manage to run, but the iOS emulator crashes with assertion failed: 16G29 15A372: libxpc.dylib + 69578 [D870A237-D3A7-31F5-AAD4-CE880C0C8E7B]: 0x7d (iPhone X) Do you know if this should work?
Hi there, I haven't tried to run on the iPhone X. I will give it a go tonight and get back to you. Cheers,
Thank you!!
Hello Gustavo, Were you already able to perform the test for iPhone X / iOS 11?
Hi Pascal, yes, it worked perfectly to me. iPhone X using xCode 9.0
Hey, Documents say to check the "end of this document" to test the app on a real device, but the docs don't contain any guidance about this? App works well in browser environment for Facebook/Google/Anonymous social logins.
Hi Ashton, This is now automatically set in the code via Cordova Platform plugin. You just need to deploy to a device and it should work.
Quick note to say thanks for the help Gustavo...very quick reply :).
Hi Gustavo. I just bought your code, Please let me know how can i get the code. Thanks
Got it. Thank you!
I would like to buy this but I have one question, does it support multiple account linking? Can I link my google, facebook, ... to one account with the same email address?
Hi there. No it doesn't have the feature of linking multiple accounts. Cheers
Hello, we just bought your code. the oauth google works in the browser with ionic serve but when i build it in android that does'nt work on my device. what is the issue?
What error did you get?
User not logged in main.js:1362 ERROR Error: Uncaught (in promise): 10 at c (polyfills.js:3) at c (polyfills.js:3) at polyfills.js:3 at t.invokeTask (polyfills.js:3) at Object.onInvokeTask (main.js:4397) at t.invokeTask (polyfills.js:3) at r.runTask (polyfills.js:3) at o (polyfills.js:3) at <anonymous>
and the app take so much time to launch and i got this in the console : Angular is running in the development mode. Call enableProdMode() to enable the production mode. cordova.js:1223 deviceready has not fired after 5 seconds. main.js:110414 Ionic Native: deviceready event fired after 5128 ms
would you mind send me your project so I can have a look? It's kinda hard to debug by looking to the details you've provided.
Done
The app works perfect! Gustavo gives u a excellent and quickly antention. I recommend this starter. Thank you Gustavo, best regards. Sebastian.
hey, i just bought your code. In the Browser everything works great and also the normal Login in the App is successfull. The problem is the Login with Facebook on an Android device. The Login is successfull but the firebase Database is not filled. In the log the error "Facebook Login Failure: TypeError: Cannot read property 'uid' of undefined at AuthenticatorService.saveUserDetails" is thrown. (authenticator.ts line 180) Would be nice if you could send me a workaround for this
okay i found the error, signInWithOAuthBrowserMode() passes an user array with an user array inside, signInWithOAuth() just an user array. So with browser user.user.uid ist found, with oAuth its user.uid instead
Hi Stefan, sorry about that. I will push a new build with the fix for this issue. Thanks for finding a solution ans reporting.
I just bought your code, Please let me know how can i get my product...
Hi praveen. I will send you the source via email in the next minutes. Thanks ☺
Not received yet...
I've just sent you the files, sorry for the delay, it's still early in the morning here, I just wake up. Let me know if you have received it ok.
Do the update!
What do you mean?
I'm going to buy this model, I liked it. :]
This is great! Might be exactly what I've been looking for. Are all the instructions on how to setup the app for each social login included? Is this written using typescript?
Hi Jesus, Yes, instructions are all included, for each individual oAuth provider (Facebook, GooglePlus and twitter). It is written on Typescript. Thanks
Picking this up now! I'm not new to Ionic/Angular but I'm new to typescript, so here goes!
Sweet, It pretty similar to javascript, you will be fine :). If you have any question feel free to ask.
Jesus, the version 1.0.9 was missing the package.json file. I have just released a new version with the file now. Please download the latest one 1.0.10. Cheers,
I figured it out, but I'll pick up the new one! ;) You're the man, I stumbled around for a while online but you made it easy. I'll probably have some questions about Android setup, it'll be the first time I'm building for both. :)
The template works perfectly. I had a little problem setting it up and the developer solve my problem quickly! 100% recommended!
I believe I have followed the steps you mentioned exactly, and here is the issue I am getting on running ionic serve: :giftish rkalra$ ionic serve Running 'serve:before' npm script before serve > ionic-hello-world@ watch /Users/rkalra/coding/codebase/ionic/projects/giftish > ionic-app-scripts watch [15:14:02] ionic-app-scripts 1.0.0 [15:14:02] watch started ... [15:14:02] build dev started ... [15:14:02] clean started ... [15:14:02] clean finished in 4 ms [15:14:02] copy started ... [15:14:02] transpile started ... [15:14:05] typescript: node_modules/angularfire2/node_modules/firebase/firebase.d.ts, line: 12 Duplicate identifier 'Promise'. [15:14:05] typescript: node_modules/firebase/firebase.d.ts, line: 165 [15:14:05] typescript: node_modules/firebase/firebase.d.ts, line: 170 [15:14:05] typescript: node_modules/firebase/firebase.d.ts, line: 176 L11: static reject(error: Error): firebase.Promise<any>; L12: static resolve<T>(value?: T): firebase.Promise<T>; Duplicate identifier 'Promise_Instance'. L16: resolver: L17: (a?: (a: T) => undefined, b?: (a: Error) => undefined) => any); L18: catch (onReject?: (a: Error) => any): firebase.Thenable<any>;
hmm can you change your package.json file in the line 28, to lock the firebase version to ~3.3.0? "firebase": "~3.3.0"
I just downgraded firebase and angularfire2 version to: "angularfire2": "^2.0.0-beta.4", "firebase": "^3.6.6", And the issue is resolved now. Can you please check why is this an issue with latest versions, which are mentioned in your package.json.
Cool, that happens because the the old version of firebase doesn't have the definition file, therefore the guys from Angularfire2 has added the firebase.d.ts in their source code. However, the newer version of firebase now comes with the definition file, cause the duplication error when trying to use with the version of angularfire2 that also has the definition file. The next version of Angularfire2 (beta.7) will probably have the firebase.d.ts file removed, but for now we can workaround by using the version firebase ~3.3.0 and angularfire 2.0.0-beta.6. I hope I was clear, I'ver also updated the project file including this fix.
On running > ionic state restore I am getting > Couldn't find ionic.config.json file. Are you in an Ionic project? What should I do?
Ignore this comment, actually forgot to execute: ionic start StarterFirebasePackV2 blank --v2 Feeling dumb, but can't even delete my comment :-)
oh, hi! no worries haha, feel free to ask any question :) You can email me if you prefer.
Hi, trying to get the google auth working on android. I am getting "Failed to login 12501". Can't work out what I have wrong. Any ideas how to troubleshoot ? The cordova plugin mentioned about getting the app id from config.xml the same as the bundles when you set up an ios and android app in firebase which I have done. Screenshots of all the firebase setup would help. Also can I suggest a small tweak so you do not have to comment out browser and device mode in the signin method signInWithOAuth(provider: string) { //INFO: Change this method to enable/disable browser modeplatform let signinPromise: Promise<FirebaseAuthState>; if(this.platform.is('cordova')) { signinPromise=this.authenticator.signInWithOAuth(provider); } else { signinPromise=this.authenticator.signInWithOAuthBrowserMode(provider); } // this.authenticator.signInWithOAuth(provider) signinPromise .then((user) => { this.doSomethingAfterUserLogin(user); }) .catch((e) => { let prompt = this.alertCtrl.create({ title: 'Error', message: `Failed to login ${e}`, buttons: [{ text: 'Ok' }] }); prompt.present(); }); }
got google going. I had to enable google plus in the google console. I expected firebase would do that when I enable google authentication in the firebase console.
Oh, I'm glad you did it. Yea, it's a bit tricky some times, some small things you have a to do, and the error codes from Google doesn't help too much haha. Thanks for the suggestion on the browser/device mode, I will surely add that in the next version. Cheers,
Hi, does this work with the latest ionic. I get firebase undefined in the user.ts file, think it is a typescript issue. Can you create a build for the latest ionic/angularfire2/firebase ?
I put import * as firebase from 'firebase'; at the top of users.ts and authenticator.ts and seems to be working now.
Great catching grendo. Im planning to realease a new version this week. Thanks
Hi, just having a bit of trouble getting google authentication working with google/android. In the instructions it says to add the SHA1 to the enable google sign in. I created the SHA1 but I am not sure where to put it. Do you have a screenshot or can you expand this bit as I can not seem to find an option in the firebase admin screens for this. Thanks.
Hi grendo, I've sent you and email with more details how to add the SHA-1 to the Android project in Firebase. I've also updated the instructions in the version 1.0.7. Let me know if you have any other question.
dear gustavo I could not make it without you my starter app Thank you for the quick answers.
Hey Gustavo, I wanted to buy this template, but I bought the other one by mistake. You know what I can do so I can switch between the two?
Hi, I will send you an email, so we can discuss. Cheers,
Hi Gustavo, does this app have the option to import user's facebook information automatically to his profile and to firebase database?
Hi, after login a object with all information returned by the oauth is created. Therefore you can do whatever you please with it. The app only saved the email and avatar into Firebase, however you can easily add more fields if you need.
Thanks for your reply, do you have the option to store Facebook's uid too? because I think it's important when sending requests to facebook graph api
I'm just asking if it's one of the fields I would have control on :)
Yes you have full control over the fields returned by the oauth
Stripe payment method has been added to this template. Feel free to send me an email if you have any problem with it.
Hi! Once purchased, is it possibile That it appears on purchases? How are updates handled? Thanks
Hi Blosher Unfortunately since my country doesn't have Stripe it's not possible to this template be shown at the purchased page since it needs to be purchased externally via PayPal. Updates are handled on manually and on demand, if you need an update, send me and email and I will provide you the latest code. Thanks Gus
Ok! I purchased it and sent an email to gustavokm90 gmail Thanks
I've got your email, files have been sent. thanks! :)
hello, I bought! Waiting the files, Thank you ^^
Hi there, Thanks for that, I will send you the files in a few minutes. Cheers,
Hello, just purchased and am awaiting the files... Thank you.
Hi there, I will be sending the files soon. Thanks!
Gustavo, I bought this but haven't received anything yet. I hope you can help soon. thanks
Hi Juan. I will be sending you the files soon. Thanks
Done, Let me know if you have received.
got it! thanks for the prompt response
I purchased with Paypal a couple days ago and still haven't received anything. Sent you an email as well.
Should have read the response to Blaucast below, found it in my spam Thanks!
I'm glad you found it :). Let me know of you have any questions. Thanks
Hi, I purchased via Paypal but still haven't received any confirmation email pr download link.
Hi there, could you please send me an email to gustavokm90@gmail.com so that I can confirm if I already sent you? Sometime the email goes to spam since it contains a zip with all files. Thanks
I i paid with Paypal i am waiting for my download link
Hi Willian I've sent the latest sorce code for you via email. I will look into the issue you've reported in regards the Facebook login. Thanks!
I i paid with Paypal i am waiting for my download link
Hi Pedro, I have sent the files in the email you have registered the payment in your PayPal account.. Let me know if you have any problems Cheers,
I get it now Gustavo thank you Cheers,
Gustavo i send to you an email for this suport: If i test my App in my iphone with ionic preview and press on facebook login button, this show me the popup and then popup dont desappear with message Logging with facebook any more, and i can`t log in . How can i resolve this issue? Best regards
Sure Pedro, I will look into that issue and update you as soon as I can. Cheers
Sure Pedro, I will look into that issue and update you as soon as I can. Cheers
I'm waiting for instructions. I paid with Paypal. Cheers!
Hi Florian. I have sent you the instructions yesterday. Can you double check your email? Let me know if you haven't got it. Cheers
Hi i'm just waiting for instructions as well for a test, thanks
Hi Albert, I've sent you an email with the source code and instructions, let me know if you have received. Thanks
I paid vía paypal, i'm waiting for instructions for test, best regards. Sebastian.
Hi Sebastian, I will be sending you the instructions via email in a minute. Thank you :)
Thank you Gustavo!
Hi, just purchased your code, to try out Ionic. The instructions refers to Ionic 2.2.3, might make no difference when running 3.x as your updated code supports this? Is there a version number somewhere in your code (2.0.2). When running the following command "ionic plugin add cordova-plugin-facebook4 --save..." --> "The plugin command has been renamed. To find out more, run: ionic cordova plugin --help" What's the correct command?
Hi Jonas, Ionic and Ionic-cli are 2 different things. We have updated the ionic framework to use the version 3, however the Ionic CLI is still on version 2.x. I will update the docs to the new version of Ionic cli tonight. Thanks for the feedback,
Hey there! You'll need to log in and purchase the add-on before you can leave a rating here.
Great. Gustavo is amazing!
Thank you for the quick answers. your instructions is easy and simple
This was a great way to start my project. It really got me most of the way there, the instructions was clear and easy to follow.
This starter is easy to follow, and expertly put together. This is the best OAUTH starter out there for Ionic 2. Gustavo was very easy to talk to and responded quick to any questions or concerns I had.
{{ rating.comment }}
{{ rating.comment }}
This starter is easy to follow, and expertly put together. This is the best OAUTH starter out there for Ionic 2. Gustavo was very easy to talk to and responded quick to any questions or concerns I had.
This was a great way to start my project. It really got me most of the way there, the instructions was clear and easy to follow.
Thank you for the quick answers. your instructions is easy and simple
Great. Gustavo is amazing!