Git Product home page Git Product logo

cordova-plugin-qrscanner's Introduction

Hi there ๐Ÿ‘‹

cordova-plugin-qrscanner's People

Contributors

abcd-ca avatar bitjson avatar boblepepeur avatar cgodley avatar cmgustavo avatar elledienne avatar fabioz23 avatar greenkeeperio-bot avatar majochoc avatar matiu avatar nacardin avatar stefanhuber avatar up2-date avatar v1934 avatar vially avatar zimzimple avatar

cordova-plugin-qrscanner's Issues

Update

Forked from bitpay/cordova-plugin-qrscanner

git clone https://github.com/chaiwei/cordova-plugin-qrscanner.git
cd cordova-plugin-qrscanner

// Add the remote repository of the v1934's fork from which I want to pull the changes:
git remote add upstream [email protected]:v1934/cordova-plugin-qrscanner-11.git

// Fetch the latest changes from the remote repository:
git fetch upstream
git merge upstream/master

// Merge the changes into local branch
git push origin master

Notes

Here are a few reasons why you might want to split fetch and merge:

Clarity and Control: By explicitly running git fetch, you can see what changes are being brought in from the remote repository without automatically merging them into your local branch. This allows you to review the changes before merging and ensures you know exactly what is coming in.

Avoiding Unwanted Merges: When you use git pull, it will automatically attempt to merge the changes fetched from the remote repository into your current branch. If you have any local changes that conflict with the fetched changes, Git will create a merge commit. Sometimes, you might not want to automatically merge changes, especially if you're not prepared to handle potential conflicts.

Separating Concerns: Fetching and merging are two distinct actions. Fetching updates your local copy of the remote repository without affecting your current working branch. Merging, on the other hand, brings those changes into your working branch. Separating these actions can make your workflow more organized and easier to manage.

Review before Merging: Fetching first allows you to review the changes from the other person's fork before merging them into your own fork. You can inspect the commits, read the commit messages, and verify that everything looks good before integrating the changes into your project.

By using git fetch and git merge separately, you gain more visibility and control over the process, which can be beneficial when dealing with multiple forks and repositories. However, if you're confident that the changes in the other person's fork won't conflict with your local changes, and you don't need to review them separately, you can use git pull as a more convenient way to combine both steps.

Failed to install 'cordova-plugin-qrscanner': Error: Uh oh! ENOENT: no such file or directory, open 'cordova-plugin-qrscanner/www/www.min.js'

Credits: https://github.com/Habka/cordova-plugin-qrscanner-11/blob/master/www/www.min.js
https://github.com/v1934/cordova-plugin-qrscanner-11/blame/master/plugin.xml

After running command command cordova plugin add git+ssh://[email protected]:chaiwei/cordova-plugin-qrscanner
I encountered another error where codova couldn't find the file www/www.min.js

I noticed the www/www.min.js is generated by gulp, so basically I need to run npm install and npm run build then it will create the file in www folder.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.