ipfs-shipyard / gomobile-ipfs

IPFS and libp2p on Mobile, with Gomobile
Other
315 stars 65 forks source link

How to excute pubsub/sub use gomobile-ipfs #132

Closed westice007 closed 3 months ago

westice007 commented 1 year ago

Asking a question, not reporting a bug

Is there an existing issue for this?

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

jefft0 commented 1 year ago

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 commented 1 year ago

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.