No More Posting New Topics!

If you have a question or an issue, please start a thread in our Github Discussions Forum.
This forum is closed for new threads/ topics.

Navigation

    Quasar Framework

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    1. Home
    2. daithi
    D
    • Profile
    • Following 0
    • Followers 0
    • Topics 3
    • Posts 6
    • Best 0
    • Groups 0

    daithi

    @daithi

    0
    Reputation
    27
    Profile views
    6
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    daithi Follow

    Latest posts made by daithi

    • RE: Android install hook

      @lucasfernog installation, thanks. Yep had a look at cordova and no joy either. Firebase provides what I’m looking for but vendor lockin is not an option.

      I’m looking to create a GUID that I can use for app authentication to an api. The main issue is that there will be no user info stored, email/username/pswd with my app. So I’m thinking next best thing is to have a GUID register the app on installation, I can check the format of this GUID in the API and register the app.

      I suppose I can do the register logic when app is mounted - if no GUID exists. Will leave issue open for bit to see if anymore suggestions - thanks 😉

      posted in Help
      D
      daithi
    • Android install hook

      Looking for a hook that will be called when app is installed (cordova android). I’m hoping to use for app registration with my API (no not using firebase, ever).

      Can’t find anything in docs for quasar or cordova but I’m sure I’ve seen it somewhere. Could be my search terms though

      posted in Help
      D
      daithi
    • RE: Users of Firebase, I need your help!

      I couldn’t get it to work. Versioning nightmare, I had to guess which of numerous google libraries would work with each other through trial and error. I’m calling Firebase not production ready: https://forum.quasar-framework.org/topic/3613/cordova-and-firebase-nightmare-working-from-default-quasar-v1beta-app

      Also vendor lockin. Dropped firebase and hoping somebody has a solution

      posted in Hangout
      D
      daithi
    • RE: cordova and firebase nightmare (working from default quasar v1beta app)

      created a bug report on cordova-plugin-firebase https://github.com/arnesson/cordova-plugin-firebase/issues/1066

      posted in Framework
      D
      daithi
    • cordova and firebase nightmare (working from default quasar v1beta app)

      Hi all,

      I’ve been trying to get firebase working with quasar cordova. My main reason is to get uniqueID for each app downloaded that I can use for authenticating with an api… and of course analytics.

      My head is melted. Apparently Google broke Google march last year and now proper versioning between google & google no longer works, for just over a year?

      Stack:

      • Debian 9 stretch
      • Gradle 5.4.1
      • Quasar 1.0.0-beta-25 (same with issues with 0.17.13)
      • OpenJDK 1.8.0_212

      The app is the default quasar create... and no changes are made to it. Also I remove src-cordova and start from scratch with each of the bellow attempts.

      So in research it seems there’s two ways to setup firebase:

      1. Follow google instructions in firebase when setting up account. Probably expected to fail as we’re not building a native app
      2. Use cordova-firebase-plugin

      Using google instructions results in:

      Could not find method implementation() for arguments [com.google.firebase:firebase-core:16.0.9] on object of type org.gradle.api.internal.artifacts.dsl.dependencies.DefaultDependencyHandler.
      

      After research seems this is an error because of old gradle version. I’ve updated to 5.4.1, so implementation() should now work, but it doesn’t. Get same error. Is there an internal gradle used by quasar or cordova?

      Cleaning up before next test:

      rm -rf src-cordova
      quasar mode add cordova
      quasar dev -m cordova -T android # check if default app loads 
      

      This time trying cordova-plugin-firebase:
      From here: https://github.com/arnesson/cordova-plugin-firebase and either placing the xml element in config.xml or by using cordova cli the result is the same:

      * What went wrong:
      Failed to capture fingerprint of input files for task ':app:preDebugBuild' property 'compileManifests' during up-to-date check.
      > The library com.google.android.gms:play-services-measurement-base is being requested by various other libraries at [[16.5.0,16.5.0], [16.4.0,16.4.0]], but resolves to 16.5.0. Disable the plugin and check your dependencies tree using ./gradlew :app:dependencies.
      

      Reading through the docs there is a recommendation to try (in this order):

      1. cordova-android-play-services-gradle-release
      2. cordova-android-firebase-gradle-release

      The play services plugin (1 above) produces same error as cordova-plugin-firebase but notice the versions requested and found in the error are different:

      ...
      +-----------------------------------------------------------------                                                                                  
      | cordova-android-play-services-gradle-release: 15.+              
      +-----------------------------------------------------------------
      ...
      * What went wrong:
      Failed to capture fingerprint of input files for task ':app:preDebugBuild' property 'compileManifests' during up-to-date check.
      > The library com.google.android.gms:play-services-measurement-base is being requested by various other libraries at [[15.0.2,15.0.2]], but resolves to 15.0.4. Disable the plugin and check your dependencies tree using ./gradlew :app:dependencies.
      

      On to cordova-android-firebase-gradle-release and the error is the same as above with stdout reporting:

      +-----------------------------------------------------------------
      | cordova-android-play-services-gradle-release: 15.+
      +-----------------------------------------------------------------
      +-----------------------------------------------------------------
      | cordova-android-firebase-gradle-release: 15.+
      +-----------------------------------------------------------------
      

      I’ve tried mutliple delete and re-install to get this working and lost. Is it possible to hook quasar cordova and firebase together? Has anybody got this working?

      posted in Framework
      D
      daithi
    • AdMob stuck on testAd

      Hi all,

      I have a problem with AdMobs, not sure where issue lies, Could be banner settings on google, cordova plugin or quasar. Starting with quasar maybe config or env vars solution…

      I can see test ads no problem, but only test ads. When running cordova run or with signed/unsigned builds on my smartphone - its always got test Ad on it. Displayed like a title on top center of banner. I’ve removed the isTesting param, set it to false an tried any numerous add removing the following:

          document.addEventListener('deviceready', ()=>{
            console.log('admobid: ', admobid)
            console.log('Device is ready')
            if(AdMob) setTimeout(()=>{AdMob.createBanner({ // put top of event stack
              // adSize: 'SMART_BANNER',
              // width: 360, // valid when set adSize 'CUSTOM'
              // height: 90, // valid when set adSize 'CUSTOM'
              position: AdMob.AD_POSITION.BOTTOM_CENTER,
              // x: 0,		// valid when set position to POS_XY
              // y: 0,		// valid when set position to POS_XY
              adId: admobid.banner,
              isTesting: false,
              overlap: true,
              autoShow: true,
            })});
            else console.error('AdMob not created :(')
          })
      

      Always resulting in testAd, can’t find anything in google or cordova plugin either:

          <plugin name="cordova-plugin-admobpro" spec="^2.37.2">
              <variable name="PLAY_SERVICES_VERSION" value="16.0.0" />
          </plugin>
      

      any help appreciated

      posted in Framework
      D
      daithi