Comments (7)
esewa_pnp v.1.0.0 will compile fine if you run/test it on real physical device but to run/test it on iOS simulator you'll need to add esewa_pnp into your pubspec.yaml file in different way.
dependencies:
# esewa_pnp: ^1.0.0 # Use it on production app or while testing esewa_pnp on real physical iOS device.
esewa_pnp:
git: https://github.com/ayyshim/esewa_pnp.git
ref: simulator
from esewa_pnp.
I did try to force flutter to run it on device rather than using simulator
flutter run -d [device name]
from esewa_pnp.
For physical device add the plugin into your pubspec.yaml file like this
dependencies:
esewa_pnp: ^1.0.0
For simulator add the plugin into your pubspec.yaml file like this:
dependencies:
esewa_pnp:
git: https://github.com/ayyshim/esewa_pnp.git
ref: simulator
Don't forget to do flutter clean
and flutter pub get
from esewa_pnp.
Apparently, below format worked for me. Flutter version: 1.17.2
esewa_pnp:
git:
url: git://github.com/ayyshim/esewa_pnp.git
ref:` simulator
from esewa_pnp.
Oh yeah right. Sorry, I miswrote the syntax in documentation as well. Thank you for your insights.
I am closing this issue.
from esewa_pnp.
i got this same error. when i tried to change https to git as below:
esewa_pnp:
git:
url: git://github.com/ayyshim/esewa_pnp.git
ref: simulator
then i got this error
pub get failed (server unavailable) -- attempting retry 5 in 16 seconds...
Git error. Command:git clone --mirror git://github.com/ayyshim/esewa_pnp.git /Library/Developer/flutter/.pub->cache/git/cache/esewa_pnp-f0ccc1a1bd61f2127a215c5dfe5ed3c2e09a1332
stdout:
stderr: Cloning into bare repository '/Library/Developer/flutter/.pub-cache/git/cache/esewa_pnp->f0ccc1a1bd61f2127a215c5dfe5ed3c2e09a1332'...
fatal: remote error:
The unauthenticated git protocol on port 9418 is no longer supported.
Please see https://github.blog/2021-09-01-improving-git-protocol-security-github/ for more information.
exit code: 128`
from esewa_pnp.
There is no longer simulator
branch that you can use in ref instead use dev
branch
Try running following command and then retry flutter pub get
Command: git config --global url."[email protected]:".insteadOf git://github.com/
from esewa_pnp.
Related Issues (20)
- Build failed with an exception after adding esewa_pnp: ^1.0.4 in dependency HOT 5
- Bug: HOT 2
- Bug: App doesnot build with error "Direct local .aar file dependencies are not supported when building an AAR." HOT 1
- Double value not supported by amount
- Could not find module 'EsewaSDK' for target 'x86_64-apple-ios-simulator' HOT 6
- Supports for MacOS and Windows ? HOT 1
- i cannot run my app after installing esewa pnp 1.0.7 HOT 3
- Bug: module compiled with Swift 5.3.1 cannot be imported by the Swift 5.4 compiler
- Bug: Execution failed for task ':esewa_pnp:bundleDebugAar'. HOT 1
- Bug: Module compiled with Swift 5.4 cannot be imported by the Swift 5.5 compiler HOT 10
- Build failed on android: HOT 2
- Build Failed on ios :Module compiled with Swift 5.5.1 cannot be imported by the Swift 5.5.2 compiler HOT 1
- Bug: Couldn't Login in Live Environment HOT 1
- Bug: Build Failed on Android Direct local .aar file dependencies are not supported when building an AAR. HOT 3
- Bug: Module compile error HOT 1
- Invalid username or password even with correct credentials HOT 1
- Swift Compile issue: Missing argument for parameter 'paymentProperties' in call sdk?.initiatePayment HOT 2
- Error: The method 'RaisedButton' isn't defined for the class 'ESewaPaymentButton'.
- error build: Could not find module 'EsewaSDK' for target 'arm64-apple-ios-simulator'; found: x86_64-apple-ios-simulator, x86_64, HOT 6
- Bug: Module compiled with Swift 5.4 cannot be imported by the Swift 5.7.1 compiler HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from esewa_pnp.