cordova-plugin-meteor-webapp | Cordova plugin that serves a Meteor web app | Mobile Application library

 by   meteor JavaScript Version: 2.0.4 License: MIT

kandi X-RAY | cordova-plugin-meteor-webapp Summary

kandi X-RAY | cordova-plugin-meteor-webapp Summary

cordova-plugin-meteor-webapp is a JavaScript library typically used in Apps, Mobile Application, Nodejs applications. cordova-plugin-meteor-webapp has no bugs, it has no vulnerabilities, it has a Permissive License and it has low support. You can install using 'npm i cordova-plugin-meteor-webapp' or download it from GitHub, npm.

Cordova apps don’t load web content over the network, but rely on locally stored HTML, CSS, JavaScript code and other assets.
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              cordova-plugin-meteor-webapp has a low active ecosystem.
              It has 65 star(s) with 74 fork(s). There are 33 watchers for this library.
              There were 1 major release(s) in the last 12 months.
              There are 21 open issues and 46 have been closed. On average issues are closed in 264 days. There are 5 open pull requests and 0 closed requests.
              It has a neutral sentiment in the developer community.
              The latest version of cordova-plugin-meteor-webapp is 2.0.4

            kandi-Quality Quality

              cordova-plugin-meteor-webapp has no bugs reported.

            kandi-Security Security

              cordova-plugin-meteor-webapp has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.

            kandi-License License

              cordova-plugin-meteor-webapp is licensed under the MIT License. This license is Permissive.
              Permissive licenses have the least restrictions, and you can use them in most projects.

            kandi-Reuse Reuse

              cordova-plugin-meteor-webapp releases are not available. You will need to build from source code and install.
              Deployable package is available in npm.

            Top functions reviewed by kandi - BETA

            kandi's functional review helps you automatically verify the functionalities of the libraries and avoid rework.
            Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of cordova-plugin-meteor-webapp
            Get all kandi verified functions for this library.

            cordova-plugin-meteor-webapp Key Features

            No Key Features are available at this moment for cordova-plugin-meteor-webapp.

            cordova-plugin-meteor-webapp Examples and Code Snippets

            No Code Snippets are available at this moment for cordova-plugin-meteor-webapp.

            Community Discussions

            QUESTION

            Hot Code Push fails because of "Error downloading asset" in cordova-plugin-meteor-webapp
            Asked 2020-Aug-11 at 12:32

            I’ve noticed for a long time that Hot Code Push works unreliably in our production app. It only works about half of the time. Reproducing on Android, when Hot Code Push fails, it is always with the below error.

            Meteor 1.10.2, cordova-plugin-meteor-webapp 1.9.1.

            As far as I can tell the error is thrown in AssetBundleDownloader.java and passed on by webapp-local-server.js

            What might cause this?

            ...

            ANSWER

            Answered 2020-Aug-11 at 12:32

            I ended up moving the files from one subfolder in my public folder to S3, halving the size of public. It seems this solved it 100%.

            I'm guessing cordova-plugin-meteor-webapp was more or less consistently failing to download the largest file, but for some reason ended up reporting errors on other files.

            Edit: this is now mentioned in the official Meteor guide: https://guide.meteor.com/hot-code-push.html

            Source https://stackoverflow.com/questions/63144074

            QUESTION

            can't connect to hosted or local mongo on meteor android-device
            Asked 2020-Jul-18 at 17:44

            basically i can't get my local or hosted mongo to connect to my app when running on meteor run android-device. both local and hosted work fine with just meteor run. i'm also unable to get this to run on the app published for testing to the play store but i assume once i'm able to run my hosted mongo locally i should be able to apply those fixes to the published version. i'm running ubuntu 18.04.


            connecting to my local mongo when testing locally on my android phone:
            so from what i’ve read online, the device and computer need to be on the same wifi network and i need to declare --mobile-server. i’ve got my phone on airplane mode connected to the wifi network and plugged into my laptop for testing. i don’t believe this is a firewall issue because i have other hardware i’m connecting to this way for work. these are the various scripts i’ve tried but none work. i’m at a complete loss! i’m running the latest meteor. anything in bold i’ve also tried on an emulator.

            "android-device-local": "MONGO_URL=mongodb://:@localhost:27017/dbName meteor run android-device --mobile-server 192.168.0.102" <-- ip address of my laptop on my wifi network

            "android-device-local": "MONGO_URL=mongodb://:@localhost:27017/dbName meteor run android-device --mobile-server 192.168.0.102:3000"

            "android-device-local": "MONGO_URL=mongodb://:@localhost:27017/dbName meteor run android-device --mobile-server locahost:3000"

            “android-device-local”: “MONGO_URL=mongodb://:@localhost:27017/dbName meteor run android-device --mobile-server locahost:27017”

            “android-device-local”: “MONGO_URL=mongodb://:@localhost:27017/dbName meteor run android-device --mobile-server 127.0.0.1”

            “android-device-local”: “MONGO_URL=mongodb://:@localhost:27017/dbName meteor run android-device --mobile-server 127.0.0.1:27017”

            “android-device-local”: “MONGO_URL=mongodb://:@localhost:27017/dbName meteor run android-device --mobile-server 127.0.0.1:3000”

            “android-device-local”: “MONGO_URL=mongodb://:@localhost:27017/dbName meteor run android-device --mobile-server 192.168.0.109” <-- ip address of my phone on my wifi network

            “android-device-local”: “MONGO_URL=mongodb://:@localhost:27017/dbName meteor run android-device --mobile-server 192.168.0.109:3000”

            “android-device-local”: “MONGO_URL=mongodb://:@localhost:27017/dbName meteor run android-device --mobile-server localhost:12816” <-- chrome’s remote debugging url


            connecting to my hosted mongo (mongodb.com)
            i do understand that the --mobile-server here would be an online server that hosts your app, but this is where i get confused… if it’s hosted on the play store, what does this mean exactly? i have a personal website (domain registered on google, hosted on aws amplify) that i'm using a subdomain on for this purpose.

            i’ve completed this guide https://sergelobatch.com/beginners-guide-to-deploying-a-meteor-app-to-an-aws-server-with-meteor-up/ and am able to access the app via the ec2 public ipv4 address and the subdomain through my web browser and it’s pulling data from the db as expected. i've allowed the public ipv4 of my ec2 access to my mongodb network. (sidenote, it's not https, does that matter?)

            again running locally i’ve tried these, still with no luck:

            “MONGO_URL= meteor run android-device --mobile-server :80”

            “MONGO_URL= meteor run android-device --mobile-server :3000”

            “MONGO_URL= meteor run android-device --mobile-server http://:80”

            ^^^ i've tried all the above with also ROOT_URL=sub.domain.com

            “MONGO_URL= meteor run android-device --mobile-server sub.domain.com”

            “MONGO_URL= meteor run android-device --mobile-server sub.domain.com:80”


            UPDATE: i do see that i'm getting not found for some cordova assets. even after adding these packages manually these persist.

            ...

            ANSWER

            Answered 2020-Jun-30 at 00:07

            for future reference: the fix was adding autoupdate and the necessary config via https://docs.meteor.com/packages/autoupdate.html and running dev with the flag --mobile server :80 and running build with --server :80

            Source https://stackoverflow.com/questions/62546829

            QUESTION

            Meteor Cordova iOS HCP fails, log says PNG file already exists when it doesn't
            Asked 2019-Nov-19 at 18:48

            I'm running meteor run ios-device ... and watching the logs in Xcode. I'm using hot code push on localhost to make css changes that show up immediately in the iOS Simulator device. I add user_white.png to the images folder and in css point a url(...) to it. I get this error, which I don't understand, because user_white.png did not "already exist". Even if I stop-start the simulator in Xcode, this error persists. Any ideas what this error means?

            ...

            ANSWER

            Answered 2018-Aug-28 at 14:36

            Update: This is a bug in Meteor -- see https://github.com/meteor/meteor/issues/10181 for details, specifically https://github.com/meteor/cordova-plugin-meteor-webapp/issues/56. This problem causes iOS Meteor Cordova hot code push to fail. In the cases in which it is causing HCP to fail, the answer below is not sufficient, but the problem also occurs in Xcode debugging in ways that are solved by stop/start as described below.

            For the record, the answer to this problem is that the error message is a very misleading sounding one, user_white.png is not already existing in a way that's meaningful to the user. The solution is simple enough: stop Xcode/iOS Simulator, stop the Meteor server running on localhost, then rerun meteor run ios-device ....

            That rebuild of the server side and subsequent rebuild of the device client in Xcode makes the problem go away. The combination of hot code push and Xcode device simulator apparently don't handle the adding of a new css-referenced image in a way that reports what you really need to know, which is: stop everything and rebuild the app!

            Source https://stackoverflow.com/questions/51573513

            QUESTION

            What's causing White Screen of Death in Meteor Cordova build?
            Asked 2018-Jun-03 at 18:29

            I'm troubleshooting an Android app with a white screen of death when I build for Android in Meteor. It works when displaying from browser on development, on deployed server, and on mobile browser.

            The application is built in MeteorJS using Angular. Versions are Meteor 1.6.1.1 and angular:angular@1.5.3_1.

            The error messages in console are as follows:

            ...

            ANSWER

            Answered 2018-May-30 at 20:08

            It seems you are running Meteor on a local server. When you are running your app on a local server, your server and your client (your app on the phone) must be on the same WiFi network and the network configuration shouldn’t prevent the client from reaching the server.

            If you need your mobile app to connect to a different server, you can specify an address using the --mobile-server option.

            For production, you need to set the environment variables of ROOT_URLwhich will be the URL (or domain) of your app accessible via internet, and MONGO_URLwhich will be the URL of your MongoDB deployment.

            Related examples;

            1. meteor run android-device --> Both server and the client must be on the same WiFi network
            2. meteor run android-device --mobile-server your_app.herokuapp.com --> --mobile-serverparam is used to define the server URL accessible on Internet
            3. You can also define the related environment variables like ROOT_URL="https://your_app.herokuapp.com" and MONGO_URL="mongodb://user:password@myserver.com:10139"

            You may refer to the official guide here, too.

            Source https://stackoverflow.com/questions/50606631

            QUESTION

            Build Cordova/Meteor/Ionic for iOS: "duplicate symbol _OBJC_CLASS_$_CDVLogger"
            Asked 2018-Apr-19 at 06:23

            I am currently experiencing a bug while compiling in Xcode for iOS with Meteor since I upgraded Xcode to iOS 11 and Meteor to 1.5.2

            The build in the meteor console runs well but when trying to run on Xcode, I get an error.

            Here are the details:

            ...

            ANSWER

            Answered 2017-Oct-08 at 21:26

            I managed to make it work by removing "CDVLogger" in Build Phases > Compile Sources. Not sure this is the perfect solution though.

            Source https://stackoverflow.com/questions/46633797

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install cordova-plugin-meteor-webapp

            You can install using 'npm i cordova-plugin-meteor-webapp' or download it from GitHub, npm.

            Support

            For any new features, suggestions and bugs create an issue on GitHub. If you have any questions check and ask questions on community page Stack Overflow .
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            Install
          • npm

            npm i cordova-plugin-meteor-webapp

          • CLONE
          • HTTPS

            https://github.com/meteor/cordova-plugin-meteor-webapp.git

          • CLI

            gh repo clone meteor/cordova-plugin-meteor-webapp

          • sshUrl

            git@github.com:meteor/cordova-plugin-meteor-webapp.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link