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. alhidalgodev
    • Profile
    • Following 0
    • Followers 0
    • Topics 6
    • Posts 22
    • Best 2
    • Groups 0

    alhidalgodev

    @alhidalgodev

    2
    Reputation
    18
    Profile views
    22
    Posts
    0
    Followers
    0
    Following
    Joined Last Online
    Website github.com/itsalb3rt Location Santiago,Dominican Republic Age 29

    alhidalgodev Follow

    Best posts made by alhidalgodev

    • RE: Use firebase-messaging-sw.js file in quasar 1.5.8

      I solved it using webpack copy plugin in this post. https://forum.quasar-framework.org/topic/2472/robots-txt-in-root/5

      in quasar.conf.js file

      const CopyWebpackPlugin = require('copy-webpack-plugin');
      /// ...
      extendWebpack(cfg) {
         cfg.plugins.push(new CopyWebpackPlugin([{ from: 'src/myCustomFolder/', to: '' }]));
        /// ...
      }
      

      Update:

      Create a dir “myCustomFolder” in src dir and copy my firebase-messaging-sw.js into “myCustomFolder”

      https://forum.quasar-framework.org/topic/2472/robots-txt-in-root/5

      posted in Help
      alhidalgodev
      alhidalgodev
    • RE: Quasar v1.5.0 released!

      Great work!

      posted in Announcements
      alhidalgodev
      alhidalgodev

    Latest posts made by alhidalgodev

    • Dev mode capacitor IOS error

      I’m new on Mac OS and I try to launch capacitor app in IOS mode but this say me a error

      (node:863) UnhandledPromiseRejectionWarning:   TypeError: Expected a `target`
      
        - index.js:25 module.exports
          [real-state-app]/[open]/index.js:25:9
      
        - open-ide.js:27 runMacOS
          [real-state-app]/[@quasar]/app/lib/helpers/open-ide.js:27:5
      
        - open-ide.js:166 module.exports
          [real-state-app]/[@quasar]/app/lib/helpers/open-ide.js:166:14
      
        - index.js:50 CapacitorRunner.run
          [real-state-app]/[@quasar]/app/lib/capacitor/index.js:50:11
      
        - runMicrotasks
      
        - task_queues.js:93 processTicksAndRejections
          internal/process/task_queues.js:93:5
      
      (Use `node --trace-warnings ...` to show where the warning was created)
      (node:863) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 7)
      (node:863) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
      
      $ quasar dev -m capacitor -T ios
      

      I have Mac OS Catalina (10.15.7) and Xcode 12.4

      posted in Help
      alhidalgodev
      alhidalgodev
    • RE: Using checkbox array with objects and mark selected

      @beets Thanks a lot!!! you are my hero!

      posted in Help
      alhidalgodev
      alhidalgodev
    • Using checkbox array with objects and mark selected

      I have an array of objects and I would like to mark the checkboxes that are already inside my array "selected:

      Example code;

        data () {
          return {
            selection: [ {name: 'teal'}, {name: 'red'} ]
          }
        }
      
      <div id="q-app">
        <div class="q-pa-md">
          <div class="q-gutter-sm">
            <q-checkbox
                v-for="(option, index) in options"
                v-model="selection" 
                :val="option"
                :label="option.label"
                :color="option.label"></q-checkbox>
          </div>
      
          <div class="q-px-sm">
            The model data: <strong>{{ selection }}</strong>
          </div>
        </div>
      </div>
      

      What am I waiting for?

      33c105e3-75a4-4c63-8e45-f83c9c310987-image.png

      What’s going on ?

      979f2a61-3bfb-4ea9-9364-0ed01e2fb61d-image.png

      Example: https://codepen.io/itsalb3rt/pen/oNYZNrZ?editors=101

      posted in Help
      alhidalgodev
      alhidalgodev
    • RE: [solved] Capacitor build version

      Solved, changed on /src-capacitor->android->app->build.gradle only need change the versionCode and versionName found on https://stackoverflow.com/a/22274740/8009061

      posted in Help
      alhidalgodev
      alhidalgodev
    • [solved] Capacitor build version

      The basic problem is the capacitor build version, not changed when try chante it on /package.json or set this on /quasar.conf.js->capacitor->version.

      No matter what you do it stays in version 1.0

      ad9302fb-3508-4d90-acdf-80850b1d97e7-image.png

      9764d078-ca29-47a1-bea5-0daecc903b63-image.png

      d8ab8f9d-2b15-4beb-92b3-ae2c6d854822-image.png

      I try change this to version 2.0.0 or any other.

      Google play console cancels my upload because it says that I already have an application with version 1.

      posted in Help
      alhidalgodev
      alhidalgodev
    • RE: Use firebase-messaging-sw.js file in quasar 1.5.8

      @ngekoding Yes, read my last comment 🙂

      posted in Help
      alhidalgodev
      alhidalgodev
    • RE: PWA white screen on IOS [Fixed]

      Fixed, the problem is the messaging.usePublicVapidKey() firebase method, I was not verifying that the browser supports this function.

      // src/boot/firebase.js
      let messaging = {}
      
      if (firebase.messaging.isSupported()) {
        messaging = firebase.messaging()
        messaging.usePublicVapidKey(process.env.PUBLIC_VAPI_KEY)
      }
      
      posted in Help
      alhidalgodev
      alhidalgodev
    • RE: PWA white screen on IOS [Fixed]

      @beets no error in console 😞

      posted in Help
      alhidalgodev
      alhidalgodev
    • RE: PWA white screen on IOS [Fixed]

      @beets Now that I remember after adding firebase cloud function for push notifications to project I happen this.

      firebase-messaging-sw.js

      // Give the service worker access to Firebase Messaging.
      // Note that you can only use Firebase Messaging here, other Firebase libraries
      // are not available in the service worker.
      importScripts('https://www.gstatic.com/firebasejs/7.17.2/firebase-app.js')
      importScripts('https://www.gstatic.com/firebasejs/7.17.2/firebase-messaging.js')
      
      // Initialize the Firebase app in the service worker by passing in
      // your app's Firebase config object.
      // https://firebase.google.com/docs/web/setup#config-object
      firebase.initializeApp({
        messagingSenderId: '',
        projectId: '',
        apiKey: '',
        appId: ''
      })
      
      // Retrieve an instance of Firebase Messaging so that it can handle background
      // messages.
      const messaging = firebase.messaging()
      
      posted in Help
      alhidalgodev
      alhidalgodev
    • RE: PWA white screen on IOS [Fixed]

      @beets Yes, in SPA mode it also fails.

      posted in Help
      alhidalgodev
      alhidalgodev