UBports Robot Logo UBports Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login
    1. Home
    2. wilson101
    W
    Online
    • Profile
    • Following 0
    • Followers 0
    • Topics 0
    • Posts 21
    • Groups 0

    wilson101

    @wilson101

    1
    Reputation
    1
    Profile views
    21
    Posts
    0
    Followers
    0
    Following
    Joined
    Last Online

    wilson101 Unfollow Follow

    Best posts made by wilson101

    • RE: New ConverseJS (XMPP) app with broken source links?

      @poVoq To be honest you have right. They get logs on servers from IP and browser metrics. I will use local files and implement hook notifications now. I will try. At least we can use it with that type of notifications till I found out how to implement the ubports push notifications.

      posted in App Development
      W
      wilson101

    Latest posts made by wilson101

    • RE: New ConverseJS (XMPP) app with broken source links?

      should I add to clickable.yaml here

      clickable_minimum_required: 8.6.0
      builder: rust
      kill: conversejs
      install_root_data:

      • manifest.json
      • content-hub.json
      • conversejs.apparmor
      • conversejs.desktop
      • assets
      • www

      the folder of the module?

      posted in App Development
      W
      wilson101
    • RE: New ConverseJS (XMPP) app with broken source links?

      @pparent ubuntu-phablet aa-exec[74446]: qrc:/qml/Main.qml:27:1: module "Pparent.Notifications" is not installed yes i see this in clickable logs

      posted in App Development
      W
      wilson101
    • RE: New ConverseJS (XMPP) app with broken source links?

      said in New ConverseJS (XMPP) app with broken source links?:

      import Pparent.Notifications 1.0

      It's building and installing the app it runs but freezes.

      posted in App Development
      W
      wilson101
    • RE: New ConverseJS (XMPP) app with broken source links?

      I did ./setup-project.sh [PROJECT-PATH] so it must be installed.

      posted in App Development
      W
      wilson101
    • RE: New ConverseJS (XMPP) app with broken source links?

      @pparent The problem now is that I can't import your code. This is main.qml https://pastebin.com/raw/kt9cpWBz I get :/qml/Main.qml:37 NotificationHelper is not a type

      posted in App Development
      W
      wilson101
    • RE: New ConverseJS (XMPP) app with broken source links?

      I'm doing something wrong the app froze

      posted in App Development
      W
      wilson101
    • RE: New ConverseJS (XMPP) app with broken source links?

      I'm trying this now onFeaturePermissionRequested: {
      grantFeaturePermission("http://127.0.0.1:9090/index.html", Notifications, true);
      }

      I saw the examples here https://doc.qt.io/qt-6/qml-qtwebengine-webengineview-obsolete.html#featurePermissionRequested-signal

      posted in App Development
      W
      wilson101
    • RE: New ConverseJS (XMPP) app with broken source links?

      @pparent I have a question about onFeaturePermissionRequested: {
      grantFeaturePermission(securityOrigin, feature, true);
      }
      should I replace feature with notification or whatever name it has in qml or leave it like that ?

      posted in App Development
      W
      wilson101
    • RE: New ConverseJS (XMPP) app with broken source links?

      @pparent desktop notifications are enabled in covnerejs by default, but I don't know how to enable them in QML to be able to interact with your module.

      posted in App Development
      W
      wilson101
    • RE: New ConverseJS (XMPP) app with broken source links?

      @pparent It's not ideal for sure. But QML is to confusing for me to be able to implement the push notifications properly with the js code of conversejs. If you have any ideas how to do it exactly I will appreciate it.

      posted in App Development
      W
      wilson101