Comments (17)
@Sten435 in Pi Wallet, I just created another wallet.
from pi-platform-docs.
What do you get if you output the response of Pi.authenticate()? It seems like you are getting passed that call.
from pi-platform-docs.
@dannybutterfield1880
I get this (i cut some sensitive info out)
But i get this error also, and i don't know what it means...
from pi-platform-docs.
Make sure you are passing the txid to the body of the /complete request
from pi-platform-docs.
This is my /complete post request using axios. You can install that using npm i --save axios
then import it at the top of the javascript file using import axios from 'axios'
from pi-platform-docs.
Does not resolve the issue.
from pi-platform-docs.
@Sten435 are you using a rooted/jailbroken phone? I installed a custom OS on my phone, had the same error and a CT dev told me that the transaction system with the SDK doesn't work with rooted/jailbroken phones.
from pi-platform-docs.
@B-Derouet I am using it on a rooted device and not having any problems at all
from pi-platform-docs.
@dannybutterfield1880 I didn't rooted my device either, just changed the OS. One thing that bothers me is that on Pi Browser, it doesn't ask for my wallet passphrase (and it doesn't work), but on a browser on my computer, it does ask me for my wallet passphrase and the payment works...
from pi-platform-docs.
@B-Derouet is that an issue you are having with all pi apps? I'm not having an issue in the pi browser, it asks me for my wallet address and everything is fine. Also, how do you get it working in a normal browser?
from pi-platform-docs.
@dannybutterfield1880 ok, I reset my wallet and now it's working. Don't know how or why... And for normal browser, this is very tricky...
from pi-platform-docs.
@B-Derouet Take a look at this repo for when you are using a normal browser https://github.com/gradosevic/pi-mock it just mocks the responses from the pi SDK then when you come to the pi browser it will work perfectly, also I found you can check for the pi browser by using navigator.userAgent.includes('PiBrowser')
from pi-platform-docs.
@Sten435 I got this error when I wasn't passing the txid to the body of the POST request to /complete
from pi-platform-docs.
Im not using a rooted device.
from pi-platform-docs.
@dannybutterfield1880 ok, I reset my wallet and now it's working. Don't know how or why... And for normal browser, this is very tricky...
How did you reset it?
from pi-platform-docs.
@B-Derouet @dannybutterfield1880
Thanks, resetting my wallet fixed the error!
from pi-platform-docs.
@Sten435 awesome! π
from pi-platform-docs.
Related Issues (20)
- Pi network HOT 1
- πΟ Apple Pi Network Οπ HOT 2
- Eser4444
- It there NPM package for Pi SDK HOT 2
- church vision HOT 1
- How to create a new application?
- NET.KYC HOT 3
- Configure sdk in sandbox HOT 1
- PI
- PI
- PI
- MISSION HOT 1
- PINETWORK downfall is only because of CORE TEAM. When you're greedy instead of being knowledgeable adoptable clairvoyant P2P We end up with this circumstance something that i've put a lot of my effort a lot of my time and we get this only because of you!!! I think you need a Collaborator I nominate myself as tribute HOT 1
- Plogi.app
- ΠΡΠ΅ Π½Π΅ ΠΊΠ°ΠΊ HOT 1
- A
- Approve HOT 1
- CryptoGing-WalletAddress HOT 2
- SDK_reference.md HOT 5
- .
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 pi-platform-docs.