gomobile-ipfs icon indicating copy to clipboard operation
gomobile-ipfs copied to clipboard

How to excute pubsub/sub use gomobile-ipfs

Open westice007 opened this issue 3 years ago • 2 comments

Asking a question, not reporting a bug

  • [X] This question is not about a bug

Is there an existing issue for this?

  • [X] I have searched the existing issues

Question

I didn't find a way for Gomobile-IPFS to receive messages in real time

Context

Can I use Pubsub /sub instructions and receive SUBSCRIBE messages in real time? I didn't find a way for Gomobile-IPFS to receive messages in real time

westice007 avatar Aug 28 '22 08:08 westice007

gomobile-ipfs gives interacts with IPFS through the API https://docs.ipfs.tech/reference/kubo/rpc . For example, this test uses the "cat" command: https://github.com/ipfs-shipyard/gomobile-ipfs/blob/3dc6933c57a370c71b5879d314b4466dba07e095/android/bridge/src/androidTest/java/ipfs/gomobile/android/requestIPFSTests.java#L68

Are the IPFS commands you need in the API?

jefft0 avatar Sep 12 '22 08:09 jefft0

See the question above about the IPFS API. If there are no more comments in 14 days, this issue will be closed as resolved. Thank you.

jefft0 avatar Oct 04 '22 09:10 jefft0