Skip to content
This repository has been archived by the owner on Feb 12, 2024. It is now read-only.

Runtime Support: Cordova #834

Closed
xSkyripper opened this issue Apr 20, 2017 · 3 comments
Closed

Runtime Support: Cordova #834

xSkyripper opened this issue Apr 20, 2017 · 3 comments
Assignees
Labels
exp/wizard Extensive knowledge (implications, ramifications) required help wanted Seeking public contribution on this issue kind/support A question or request for support kind/unknown-in-helia P3 Low: Not priority right now status/ready Ready to be worked

Comments

@xSkyripper
Copy link

xSkyripper commented Apr 20, 2017

Hello.

Is it possible to start a js-ipfs daemon properly in a cordova app on android ?

More exactly, I used the script tag in my main html and added the js code for the daemon to start.
The app starts fine, the daemon seems to start too but I have no discovery at all.
Swarm peers returns an empty array and I also cannot find the specific device's ID from a linux machine connected to the same router.

EDIT 1: The linux machine uses go-ipfs and the android device uses js-ipfs. Is this a problem ... ?
EDIT 2: Can 2 js-ipfs browser nodes communicate ? I tested this locally and it seems there is no trace of discovery or connection ... I don't know if I didn't understand completely but what exactly does and doesn't work in this implementation ?

The purpose of this issue is to find a way of implementing an Android app using IPFS. One of the most important things is that I NEED it to work in LANs.

@daviddias daviddias added status/deferred Conscious decision to pause or backlog kind/support A question or request for support labels Jul 3, 2017
@daviddias
Copy link
Member

Same suggestion I made for #802 (comment), if you come up with an example of how to do the set up, I'm happy to help you figure out the rest.

@daviddias daviddias added exp/wizard Extensive knowledge (implications, ramifications) required help wanted Seeking public contribution on this issue labels Sep 1, 2017
@daviddias daviddias changed the title Daemon on Cordova - Android Cordoba support Sep 1, 2017
@daviddias daviddias added status/ready Ready to be worked P3 Low: Not priority right now and removed status/deferred Conscious decision to pause or backlog labels Oct 17, 2017
@victorb victorb changed the title Cordoba support Cordova support Feb 1, 2018
@daviddias daviddias changed the title Cordova support Runtime Support: Cordova Mar 16, 2018
@silkroadnomad
Copy link

It could be a classic "Content-Security-Policy" problem which you could try to solve in cordovas index.html or in the whitelist plugin? I am just wondering because, I am planing to try js-ipfs in Cordova for a project.

@SgtPooki
Copy link
Member

SgtPooki commented May 16, 2023

Hello @xSkyripper & @DecentraSol,

js-ipfs is being deprecated in favor of Helia. You can learn more about this deprecation and the corresponding migration guide here.

This current bug or feature request will not be addressed in js-ipfs due to its deprecation. We believe the issue has been resolved in Helia though 😊

As a result, we are going to close this issue. If you think we have done this in error, please feel to reopen with any comments in the next week as we will circle back on the reopened issues.

We hope you will consider Helia for your IPFS in JS needs. We look forward to engaging with you more there.

Thanks,
@ipfs/helia-dev

@SgtPooki SgtPooki closed this as not planned Won't fix, can't repro, duplicate, stale May 16, 2023
@SgtPooki SgtPooki self-assigned this May 17, 2023
@SgtPooki SgtPooki moved this to ✅ Done in js-ipfs deprecation May 17, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
exp/wizard Extensive knowledge (implications, ramifications) required help wanted Seeking public contribution on this issue kind/support A question or request for support kind/unknown-in-helia P3 Low: Not priority right now status/ready Ready to be worked
Projects
No open projects
Status: Done
Development

No branches or pull requests

4 participants