You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Current behavior:
Now you can only send Peep with some text data in it.
Expected behavior:
Need to send Peep with image or video data in it both to PeepEth server and to blockchain.
Solution:
It’s needed to prepare sending data to server and Ethereum blockchain.
Carefully look at how Peeps are sending now.
Sending controller is SendPeepViewController.
After tapping "Send" button and writing correct password will be formed Server Peep:
letpeep=Peep(type:"peep",
content: content,
pic:"",
untrustedAddress: address!,
untrustedTimestamp:Int(Date().timeIntervalSince1970),
shareID: shareHash,
parentID: parentHash)letcreatedServerPeep=CreateServerPeep(ipfs:"xxx",
author: address!,
content: content,
parentID: parentHash,
shareID: shareHash,
twitterShare: false,
picIpfs:"", // LOOK, its empty now. But it most likely shouldn't be
origContents: peep,
shareNow: true)
Then peep is posting to Peepeth server. In response you will get peeps hash from IPFS. In case of success you can optionally post peep to blockchain. But most likely you will not need to change anything further, since only a hash of a peep is required to send a transaction.
Perhaps you need just to load image to some server and use its link when forming Peeps data. To get more info send Peep from Desktop PeepEth in Chrome using Developer Tools to “reverse engineer it”.
Acceptance Criteria:
The code is written in new branch named feature/sendMedia or something like that.
The code implements the targets described above.
The code can be merged into the develop branch without conflicts.
Required Skill:
Participants needs to have experience in Swift software development.
The text was updated successfully, but these errors were encountered:
I have a good experience with Swift, and planning to solve the issue within 3 days. 3) luccifer has applied to start work (Funders only: approve worker | reject worker).
Hey! Easy to implement, call at will if you need it fast and safe 4) xboehmx33 has applied to start work (Funders only: approve worker | reject worker).
Add image or video to peep in compliance with the request
Current behavior:
Now you can only send Peep with some text data in it.
Expected behavior:
Need to send Peep with image or video data in it both to PeepEth server and to blockchain.
Solution:
It’s needed to prepare sending data to server and Ethereum blockchain.
Carefully look at how Peeps are sending now.
Sending controller is SendPeepViewController.
After tapping "Send" button and writing correct password will be formed Server Peep:
Then peep is posting to Peepeth server. In response you will get peeps hash from IPFS. In case of success you can optionally post peep to blockchain. But most likely you will not need to change anything further, since only a hash of a peep is required to send a transaction.
Perhaps you need just to load image to some server and use its link when forming Peeps data. To get more info send Peep from Desktop PeepEth in Chrome using Developer Tools to “reverse engineer it”.
Acceptance Criteria:
The code is written in new branch named feature/sendMedia or something like that.
The code implements the targets described above.
The code can be merged into the develop branch without conflicts.
Required Skill:
Participants needs to have experience in Swift software development.
The text was updated successfully, but these errors were encountered: