status-im / status-mobile

a free (libre) open source, mobile OS for Ethereum
https://status.app
Mozilla Public License 2.0
3.91k stars 987 forks source link

/debug not working again, reopen #3440 #3677 #4795

Closed nabgilby closed 6 years ago

nabgilby commented 6 years ago

Same behavior as #3440 #3677.

Tested in:

annadanchenko commented 6 years ago

@nabgilby it was removed as requested by https://github.com/status-im/status-react/issues/3813 Is there any special reason you need /debug command?

nabgilby commented 6 years ago

Hi, I was using /debug to run status-dev-cli scan to connect my android to the dapp I'm developinging on my mac. Is there another way to do this now? We want to demo the dapp with status, on an android.

​-Nancy​

On Sun, Jun 17, 2018 at 1:28 PM Anna Danchenko notifications@github.com wrote:

@nabgilby https://github.com/nabgilby it was removed as requested by

3813 https://github.com/status-im/status-react/issues/3813

Is there any special reason you need /debug command?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/status-im/status-react/issues/4795#issuecomment-397893713, or mute the thread https://github.com/notifications/unsubscribe-auth/AA_owjOx-B-4dDGvs76Waa8Z5ONt5X0Oks5t9pG-gaJpZM4Uq1RE .

-- Nancy A. Benovich Gilby 650-539-8376 nabgilby@gmail.com calendar https://calendly.com/nabgilby

GitHub
nabgilby
nabgilby has 2 repositories available. Follow their code on GitHub.
GitHub
Build software better, together
GitHub is where people build software. More than 28 million people use GitHub to discover, fork, and contribute to over 85 million projects.
Calendly - Nancy Benovich Gilby
nabgilby commented 6 years ago

It is probably worth adding that I have tried simply to following this doc: https://wiki.status.im/Make_A_DApp

and running the example truffle-box-status app on the same wifi network with my mac and my android, ganache running at :8546

but without /debug on in status on the android, when I run:

IP=192.168.1.10 npm run start

I get the follow:

The app is running at:

http://localhost:3000/

Note that the development build is not optimized.

To create a production build, use npm run build.

=================================================

Cannot connect to Status.

  1. Please, ensure that your device is accessible from your computer;

  2. If it is, ensure that you're logged in and the debug mode is enabled;

Check our docs for more information:

http://docs.status.im/

=================================================

So is there another way to ensure my devicie is accesible other than status-dev-cli scan and /debug?

On Sun, Jun 17, 2018 at 1:38 PM Nancy Benovich Gilby nabgilby@gmail.com wrote:

Hi, I was using /debug to run status-dev-cli scan to connect my android to the dapp I'm developinging on my mac. Is there another way to do this now? We want to demo the dapp with status, on an android.

​-Nancy​

On Sun, Jun 17, 2018 at 1:28 PM Anna Danchenko notifications@github.com wrote:

@nabgilby https://github.com/nabgilby it was removed as requested by

3813 https://github.com/status-im/status-react/issues/3813

Is there any special reason you need /debug command?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/status-im/status-react/issues/4795#issuecomment-397893713, or mute the thread https://github.com/notifications/unsubscribe-auth/AA_owjOx-B-4dDGvs76Waa8Z5ONt5X0Oks5t9pG-gaJpZM4Uq1RE .

-- Nancy A. Benovich Gilby 650-539-8376 nabgilby@gmail.com calendar https://calendly.com/nabgilby

-- Nancy A. Benovich Gilby 650-539-8376 nabgilby@gmail.com calendar https://calendly.com/nabgilby

Make A DApp - Status Wiki
Status Developer Documentation
GitHub
nabgilby
nabgilby has 2 repositories available. Follow their code on GitHub.
GitHub
Build software better, together
GitHub is where people build software. More than 28 million people use GitHub to discover, fork, and contribute to over 85 million projects.
Calendly - Nancy Benovich Gilby
Calendly - Nancy Benovich Gilby
jeluard commented 6 years ago

status-dev-cli is deprecated. What are you trying to achieve?

nabgilby commented 6 years ago

I am trying to achieve:

  1. get the truffle-box-status example working on status on android

  2. But in general, I am trying to build and test my DApp, running my Dapp on my mac and accessing it from Status on my Android. I did this awhile back in November, in early DApp development, now prob, the put it aside to complete functionality (testing in a browser with metamask). Now that we are closing in on the mvp, I though I should start testing it again from status on Android, no luck.

I can't even get the simple truffle-box-status example to work. I have tried simply to following this doc: https://wiki.status.im/Make_A_DApp

and running the example truffle-box-status app on the same wifi network with my mac and my android, ganache running at :8546 but without /debug on in status on the android, when I run:

$IP=192.168.1.10 npm run start

I get the follow:

The app is running at:

http://localhost:3000/

Note that the development build is not optimized. To create a production build, use npm run build.

=================================================

Cannot connect to Status.

  1. Please, ensure that your device is accessible from your computer;
  2. If it is, ensure that you're logged in and the debug mode is enabled;

Check our docs for more information: http://docs.status.im/

=================================================

So is there another way to ensure my devicie is accesible other than status-dev-cli scan and /debug?

-Nancy

On Mon, Jun 18, 2018 at 2:12 AM Julien Eluard notifications@github.com wrote:

status-dev-cli is deprecated. What are you trying to achieve?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or mute the thread.

-- Nancy A. Benovich Gilby 650-539-8376 nabgilby@gmail.com calendar

Make A DApp - Status Wiki
Status Developer Documentation
jeluard commented 6 years ago

I am afraid this example is deprecated too and won't work out of the boxµ. We are working on restoring those features and will take your feedback into consideration.

In the meantime you can push your DApp on a publicly available URL, open it using Open a DApp and remote debug using chrome debugging console.

nabgilby commented 6 years ago

Ah well, I was hoping to avoid the publicly available url thing until closer to launch,

I would love to have those features back as they were what attracted us to status.im originally.

Thank you so much for your guidance as none of this was obvious coming back after being away a few months.

-Nancy

On Mon, Jun 18, 2018 at 2:03 PM Julien Eluard notifications@github.com wrote:

I am afraid this example is deprecated too and won't work out of the boxµ. We are working on restoring those features and will take your feedback into consideration.

In the meantime you can push your DApp on a publicly available URL, open it using Open a DApp and remote debug using chrome debugging console.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/status-im/status-react/issues/4795#issuecomment-398143294, or mute the thread https://github.com/notifications/unsubscribe-auth/AA_owh3n3tD__d_x85oXXoo4_ys5wQASks5t9-t6gaJpZM4Uq1RE .

-- Nancy A. Benovich Gilby 650-539-8376 nabgilby@gmail.com calendar https://calendly.com/nabgilby

GitHub
Build software better, together
GitHub is where people build software. More than 28 million people use GitHub to discover, fork, and contribute to over 85 million projects.
Calendly - Nancy Benovich Gilby