profile
viewpoint
Joff Tiquez jofftiquez MYCURE Inc. Manila, Philippines https://jofftiquez.dev Web developer | Creator of Vue Stripe

jofftiquez/angular-app-starter-pack 11

Starting project guide for AngularJs, includes ui-router and bootstrap.

jofftiquez/angular-http-assist 3

Perform http request using angular-http-assist without hassle on setting up services to handle requests.

jofftiquez/awesome-vue 1

A curated list of awesome things related to Vue.js

jofftiquez/cropperjs-vue 1

Vue component for CropperJs

brogrammers-ph/healthcheck.sh 0

Server health checker shell script integrated with Slack.

jofftiquez/.vim 0

Personal Vim configurations and plugins.

jofftiquez/aggregator-app 0

serverless function with api aggregator with azure

jofftiquez/alab-cms 0

Content management system for Firebase

jofftiquez/angularfire2 0

The official Angular library for Firebase.

issue commentrobingenz/capacitor-firebase-authentication

signInWithGoogle result has no user property, only credentials

That's it. It's working now. Thank you for this plugin @robingenz cheers!

jofftiquez

comment created time in 2 days

issue closedrobingenz/capacitor-firebase-authentication

signInWithGoogle result has no user property, only credentials

Plugin version: ^0.3.12

Platform(s): Android - Affected Web - Okay

Current behavior: When signing in using FirebaseAuthentication.signInWithGoogle the process proceeds as expected no issues whatsoever, but when you inspect the data being return here you will see that there's no .user property in the android version.

Web

Screenshot_20211128_013110

Android

Screenshot_20211128_013153

Expected behavior: There should be a .user field in the result.

Steps to reproduce:

  1. Implement in android.
  2. Use FirebaseAuthentication.signInWithGoogle method.

Related code:

const result = await FirebaseAuthentication.signInWithGoogle();
console.warn('result', result);

Capacitor doctor: <!-- Run npx cap doctor in a terminal and paste the output below. -->

Latest Dependencies:

  @capacitor/cli: 3.3.2
  @capacitor/core: 3.3.2
  @capacitor/android: 3.3.2
  @capacitor/ios: 3.3.2

Installed Dependencies:

  @capacitor/cli: 3.3.2
  @capacitor/core: 3.3.2
  @capacitor/ios: 3.3.2
  @capacitor/android: 3.3.2

closed time in 2 days

jofftiquez

issue commentrobingenz/capacitor-firebase-authentication

signInWithGoogle result has no user property, only credentials

As a matter of fact, I set it to true for some reason. I'll change it to false and give feedback the soonest.

jofftiquez

comment created time in 2 days

pull request commentrobingenz/capacitor-firebase-authentication

refactor: update casing

Hi @jofftiquez, thank you for this PR. In this project I use the camelCase notation for the fields. So it is rather a coincidence that the other fields have the same notation. smile For example, in the Firebase Android SDK it is called getPhotoUrl. In the end, of course, it is a matter of choice and I don't think there is a right or wrong here. For this reason, I am closing the PR.

Best regards, Robin

Totally understand @robingenz 😸 no problem at all. Cheers!

jofftiquez

comment created time in 2 days

startedrobingenz/capacitor-firebase-authentication

started time in 3 days

push eventjofftiquez/capacitor-firebase-authentication

Joff Tiquez

commit sha b1cf8b76761ff8a1b405e397b8f9e35de4807c90

refactor: add backward compatibility To avoid breaking for the existing users, instead of totally changing the field name, just add a new field `photoURL` while retaining `photoUrl` for the moment.

view details

push time in 3 days

PR opened robingenz/capacitor-firebase-authentication

refactor: update casing

Following the pattern of how the fields are assigned, all of the fields are using the same case rules except for photo URL field which was photoUrl instead of photoURL.

+1 -1

0 comment

1 changed file

pr created time in 3 days

push eventjofftiquez/capacitor-firebase-authentication

Joff Tiquez

commit sha eb667d22d8227e3271522a9b47d28428a587898c

refactor: update casing Following the pattern of how the fields are assigned, all of the fields are using the same case rules except for photo URL field which was `photoUrl` instead of `photoURL`.

view details

push time in 3 days

issue openedrobingenz/capacitor-firebase-authentication

signInWithGoogle result has no user property, only credentials

Plugin version: ^0.3.12

Platform(s): Android - Affected Web - Okay

Current behavior: When signing in using FirebaseAuthentication.signInWithGoogle the process proceeds as expected no issues whatsoever, but when you inspect the data being return here you will see that there's no .user property in the android version.

Web

Screenshot_20211128_013110

Android

Screenshot_20211128_013153

Expected behavior: There should be a .user field in the result.

Steps to reproduce:

  1. Implement in android.
  2. Use FirebaseAuthentication.signInWithGoogle method.

Related code:

const result = await FirebaseAuthentication.signInWithGoogle();
console.warn('result', result);

Capacitor doctor: <!-- Run npx cap doctor in a terminal and paste the output below. -->

Latest Dependencies:

  @capacitor/cli: 3.3.2
  @capacitor/core: 3.3.2
  @capacitor/android: 3.3.2
  @capacitor/ios: 3.3.2

Installed Dependencies:

  @capacitor/cli: 3.3.2
  @capacitor/core: 3.3.2
  @capacitor/ios: 3.3.2
  @capacitor/android: 3.3.2

created time in 3 days

issue closedrobingenz/capacitor-firebase-authentication

Error "FirebaseAuthentication" plugin is not implemented on android

I already added all the necessary libraries in my project gradle, and module gradle in android. But I am still getting this error. Is there something I missed?


Plugin version:

^0.3.12

Platform(s):

Android

Current behavior: Everything is setup properly and there are no console error, no build errors either. But when I clicked the button that invokes the main signing method:

const result = await FirebaseAuthentication.signInWithGoogle();

I am getting the toast message that says: "FirebaseAuthentication" plugin is not implemented on android

Expected behavior: When I click the signin button, a prompt will appear or something?

Steps to reproduce: <!-- Please explain the steps required to reproduce the issue. -->

Related code:

Vue component:

import { FirebaseAuthentication } from '@robingenz/capacitor-firebase-authentication';
...
const result = await FirebaseAuthentication.signInWithGoogle();

capacitor.config.json

{
  "appId": "org.my.app",
  "appName": "My App",
  "bundledWebRuntime": false,
  "npmClient": "yarn",
  "webDir": "www",
  "plugins": {
    "FirebaseAuthentication": {
      "skipNativeAuth": false,
      "providers": [
        "google.com"
      ]
    }
  }
}

Capacitor doctor:

Latest Dependencies:

  @capacitor/cli: 3.3.2
  @capacitor/core: 3.3.2
  @capacitor/android: 3.3.2
  @capacitor/ios: 3.3.2

Installed Dependencies:

  @capacitor/android: not installed
  @capacitor/cli: 3.3.2
  @capacitor/core: 3.3.2
  @capacitor/ios: 3.3.2

closed time in 3 days

jofftiquez

issue commentrobingenz/capacitor-firebase-authentication

Error "FirebaseAuthentication" plugin is not implemented on android

For future readers

I think I figured it out. I forgot to import the @robingenz/capacitor-firebase-authentication in src-capacitor/package.json. Will close this now. Thank you.

jofftiquez

comment created time in 3 days

issue commentrobingenz/capacitor-firebase-authentication

Error "FirebaseAuthentication" plugin is not implemented on android

Sorry for closing, I verified it's still not working.

jofftiquez

comment created time in 3 days

IssuesEvent

issue closedrobingenz/capacitor-firebase-authentication

Error "FirebaseAuthentication" plugin is not implemented on android

I already added all the necessary libraries in my project gradle, and module gradle in android. But I am still getting this error. Is there something I missed?


Plugin version:

^0.3.12

Platform(s):

Android

Current behavior: Everything is setup properly and there are no console error, no build errors either. But when I clicked the button that invokes the main signing method:

const result = await FirebaseAuthentication.signInWithGoogle();

I am getting the toast message that says: "FirebaseAuthentication" plugin is not implemented on android

Expected behavior: When I click the signin button, a prompt will appear or something?

Steps to reproduce: <!-- Please explain the steps required to reproduce the issue. -->

Related code:

Vue component:

import { FirebaseAuthentication } from '@robingenz/capacitor-firebase-authentication';
...
const result = await FirebaseAuthentication.signInWithGoogle();

capacitor.config.json

{
  "appId": "org.my.app",
  "appName": "My App",
  "bundledWebRuntime": false,
  "npmClient": "yarn",
  "webDir": "www",
  "plugins": {
    "FirebaseAuthentication": {
      "skipNativeAuth": false,
      "providers": [
        "google.com"
      ]
    }
  }
}

Capacitor doctor:

Latest Dependencies:

  @capacitor/cli: 3.3.2
  @capacitor/core: 3.3.2
  @capacitor/android: 3.3.2
  @capacitor/ios: 3.3.2

Installed Dependencies:

  @capacitor/android: not installed
  @capacitor/cli: 3.3.2
  @capacitor/core: 3.3.2
  @capacitor/ios: 3.3.2

closed time in 3 days

jofftiquez

issue commentrobingenz/capacitor-firebase-authentication

Error "FirebaseAuthentication" plugin is not implemented on android

For future readers

Hi @robingenz you can close this now, It seems I have duplicated the importation of apply plugin: 'com.google.gms.google-services' in the app-level gradle.build as you can see above, it's in the top and in the bottom.

jofftiquez

comment created time in 3 days

issue commentrobingenz/capacitor-firebase-authentication

Error "FirebaseAuthentication" plugin is not implemented on android

@robingenz after re-following the setup guide it's still not working. To give you a summary of what I have done.

Context: I updated manually from cap 2 to cap 3, seems to be no issue as I can build successfully.

1. Properly installed required packages

Screenshot_20211127_215740

2. Add firebase to android setup

google-services.json

File present

Screenshot_20211127_220509

root-level build.gradle

// Top-level build file where you can add configuration options common to all sub-projects/modules.

buildscript {
    
    repositories {
        jcenter()
+        google()
    }
    dependencies {
        classpath 'com.android.tools.build:gradle:3.6.1'
+        classpath 'com.google.gms:google-services:4.3.10'

        // NOTE: Do not place your application dependencies here; they belong
        // in the individual module build.gradle files
    }
}

apply from: "variables.gradle"

allprojects {
    repositories {
        jcenter()
+        google()
    }
}

task clean(type: Delete) {
    delete rootProject.buildDir
}

app-level app/gradle.build

apply plugin: 'com.android.application'
+ apply plugin: 'com.google.gms.google-services'

android {
    compileSdkVersion rootProject.ext.compileSdkVersion
    defaultConfig {
        applicationId "org.axie.account.tracker"
        minSdkVersion rootProject.ext.minSdkVersion
        targetSdkVersion rootProject.ext.targetSdkVersion
        versionCode 1
        versionName "1.0"
        testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
    }
    buildTypes {
        release {
            minifyEnabled false
            proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
        }
    }
    compileOptions {
        sourceCompatibility JavaVersion.VERSION_1_8
        targetCompatibility JavaVersion.VERSION_1_8
    }
}

repositories {
    flatDir{
        dirs '../capacitor-cordova-android-plugins/src/main/libs', 'libs'
    }
}

dependencies {
    androidTestImplementation "androidx.test.espresso:espresso-core:$androidxEspressoCoreVersion"
    androidTestImplementation "androidx.test.ext:junit:$androidxJunitVersion"
+    implementation platform('com.google.firebase:firebase-bom:29.0.0')
+    implementation 'com.google.firebase:firebase-analytics'
+    implementation 'com.google.firebase:firebase-auth'
    implementation "androidx.appcompat:appcompat:$androidxAppCompatVersion"
    implementation fileTree(include: ['*.jar'], dir: 'libs')
    implementation project(':capacitor-android')
    implementation project(':capacitor-cordova-android-plugins')
    testImplementation "junit:junit:$junitVersion"
}

apply from: 'capacitor.build.gradle'
apply plugin: 'com.google.gms.google-services'

3. App's SHA-1 setup done, and Auth Stragegy enabled already

4. Implementation

src-capacitor/capacitor.config.json

{
  "appId": "org.axie.account.tracker",
  "appName": "Axie Dashboard",
  "bundledWebRuntime": false,
  "npmClient": "yarn",
  "webDir": "www",
  "plugins": {
    "SplashScreen": {
      "launchShowDuration": 0,
      "launchAutoHide": false,
      "backgroundColor": "#ffffff"
    },
    "PushNotifications": {
      "presentationOptions": [
        "badge",
        "sound",
        "alert"
      ]
    },
    "FirebaseAuthentication": {
      "skipNativeAuth": false,
      "providers": [
        "google.com"
      ]
    }
  }
}

SignInPage.vue

// simply
const result = await FirebaseAuthentication.signInWithGoogle();
jofftiquez

comment created time in 3 days

issue commentrobingenz/capacitor-firebase-authentication

Error "FirebaseAuthentication" plugin is not implemented on android

Hi, @robingenz thanks for the reply. I will double-check everything. Yes, I am currently using Capacitor 3, I will check that as well. I'll give feedback the soonest.

jofftiquez

comment created time in 3 days

push eventoss-ph/ossph.org

Waren Gonzaga

commit sha ed3e348fe4b2c1571a7a3de0929682506428160e

CHORE: small commits are still commits

view details

Waren Gonzaga

commit sha 36c363716bbc8eb6ddb625f5356706f1a68fc9dc

CHORE: update css link

view details

Joff Tiquez

commit sha 823e97fae802f511509e40ba0601061e8a5c90de

Merge pull request #1 from WarenGonzaga/master CHORE: smalls commits are still commits

view details

push time in 3 days

PR merged oss-ph/ossph.org

CHORE: smalls commits are still commits

I did some file re-structuring and also a few edits.

+684 -5

0 comment

8 changed files

WarenGonzaga

pr closed time in 3 days

PullRequestReviewEvent

push eventoss-ph/ossph.org

Joff Tiquez

commit sha 792332ffba383b314331a538dabf1c7efaa77bc1

chore: add google analytics

view details

push time in 4 days

push eventoss-ph/ossph.org

Jofferson R Tiquez

commit sha 02be2adc85bd707fb14a1c9f5f9c29d7cd4f6a19

refactor: update twitter card summary content

view details

push time in 4 days

push eventoss-ph/ossph.org

Jofferson R Tiquez

commit sha ed8fa4e6bc685b8704e62e261ed3d04b113cd69f

ci: create workflow for firebase deploy

view details

Jofferson R Tiquez

commit sha 18c48f8eedf87b9bc482df13732108869f0464dc

chore: initialize hosting

view details

Jofferson R Tiquez

commit sha 3883dab0de7cb79df63ec7e1cc2dc8492bba7b7f

feat: generate 404.html

view details

push time in 4 days

issue openedrobingenz/capacitor-firebase-authentication

Error "FirebaseAuthentication" plugin is not implemented on android

I already added all the necessary libraries in my project gradle, and module gradle in android. But I am still getting this error. Is there something I missed?

"FirebaseAuthentication" plugin is not implemented on android

created time in 5 days

issue closedrobingenz/capacitor-firebase-authentication

bug: export 'registerPlugin' was not found in '@capacitor/core

I think this is mainly due to I am using capacitor 2, is there a way to make it work with version 2?

"@capacitor/core": "^2.4.7"

closed time in 5 days

jofftiquez

issue commentrobingenz/capacitor-firebase-authentication

bug: export 'registerPlugin' was not found in '@capacitor/core

I already upgraded to capacitor 3, this is invalid now. Thanks.

jofftiquez

comment created time in 5 days

issue openedrobingenz/capacitor-firebase-authentication

bug: export 'registerPlugin' was not found in '@capacitor/core

I think this is mainly due to I am using capacitor 2, is there a way to make it work with version 2?

"@capacitor/core": "^2.4.7"

created time in 5 days

issue commentoss-ph/pinoy-made

github actions

Perhaps automated checking of the project's quality?

WarenGonzaga

comment created time in 5 days

PR merged oss-ph/pinoy-made

Reviewers
☕ CHORE: replace license chore

Closing #7 🚀

+121 -21

0 comment

1 changed file

WarenGonzaga

pr closed time in 5 days

more