Pages:
Author

Topic: How to build a Hive app (introducing the Hive app API) - page 3. (Read 28706 times)

sr. member
Activity: 294
Merit: 250
Alright, 1 week for updates looks good enough at least for now.

Should we try to bundle on Monday?

Please do so with the version 0.2.2 available at https://github.com/knowitnothing/patten_hive/releases, couple of updates today.
full member
Activity: 178
Merit: 100
Nice work. I think I will test it soon (if I find some time   Sad )
sr. member
Activity: 294
Merit: 250
Alright, 1 week for updates looks good enough at least for now.

Should we try to bundle on Monday?

Ok, make sure you grab the latest version present there. I will be releasing an update today.
sr. member
Activity: 378
Merit: 325
hivewallet.com
Alright, 1 week for updates looks good enough at least for now.

Should we try to bundle on Monday?
sr. member
Activity: 294
Merit: 250
Absolutely, it would be excellent if you could report any problems you find.

How do you handle app updates ? Does the user need to download the newer version manually, is it re-packaged in the next hive release, or is there some other way ? If there's some other way, I've missed it.

We will soon have an app repo to which you will be able to send us pull requests. We'll pull them, and the users will be able to download the updates automatically. For the time being we will bundle your updates up with our app, which is auto-updated every Monday.

See here:
https://github.com/hivewallet/hive-osx/issues/56

By the way, you did a really nice job with this. It's extremely responsive.

Alright, 1 week for updates looks good enough at least for now.

Thanks about the app, I tried to make it responsive enough (but the table for Recent history needs some work regarding that). Congrats on the Hive app, I will see if I can contribute to its code too. Keep up the good work.
sr. member
Activity: 378
Merit: 325
hivewallet.com
Absolutely, it would be excellent if you could report any problems you find.

How do you handle app updates ? Does the user need to download the newer version manually, is it re-packaged in the next hive release, or is there some other way ? If there's some other way, I've missed it.

We will soon have an app repo to which you will be able to send us pull requests. We'll pull them, and the users will be able to download the updates automatically. For the time being we will bundle your updates up with our app, which is auto-updated every Monday.

See here:
https://github.com/hivewallet/hive-osx/issues/56

By the way, you did a really nice job with this. It's extremely responsive.
sr. member
Activity: 294
Merit: 250
I'm releasing the version 0.1.0 of a game I'm calling Patten. Right now it is available exclusively for the Hive wallet, just grab the .zip at https://github.com/knowitnothing/patten_hive/releases, rename it to .hiveapp then open it. The source is at https://github.com/knowitnothing/patten_hive.

Sweet, thanks. We'll test this out for a bit and then maybe bundle it if it all looks good?

Absolutely, it would be excellent if you could report any problems you find. I expect deposits/withdrawals are working correctly, but if you or anyone else has any issues with that I will refund the deposit + some small amount for hitting a bug.

How do you handle app updates ? Does the user need to download the newer version manually, is it re-packaged in the next hive release, or is there some other way ? If there's some other way, I've missed it.

EDIT: added sentence about refund + bonus in case of bugs.
member
Activity: 121
Merit: 14
I've released my app for satoshirat, it's in your repo, and i've done today a major update.

check it out.
sr. member
Activity: 378
Merit: 325
hivewallet.com
I'm releasing the version 0.1.0 of a game I'm calling Patten. Right now it is available exclusively for the Hive wallet, just grab the .zip at https://github.com/knowitnothing/patten_hive/releases, rename it to .hiveapp then open it. The source is at https://github.com/knowitnothing/patten_hive.

Sweet, thanks. We'll test this out for a bit and then maybe bundle it if it all looks good?
sr. member
Activity: 294
Merit: 250
I'm releasing the version 0.1.0 of a game I'm calling Patten. Right now it is available exclusively for the Hive wallet, just grab the .zip at https://github.com/knowitnothing/patten_hive/releases, rename it to .hiveapp then open it. The source is at https://github.com/knowitnothing/patten_hive.

EDIT: Grab the 0.1.2 release at https://github.com/knowitnothing/patten_hive/releases/tag/v0.1.2



Jackpot of 1 bitcoin, max bet of 5 bitcents, more info can be found through the Help button.
sr. member
Activity: 378
Merit: 325
hivewallet.com
Note to all app developers:

We have changed our GitHub URL! It is now:
https://github.com/hivewallet

If you happen to spot any places around this forum (or elsewhere) where that needs to be changed, please let us know!
sr. member
Activity: 378
Merit: 325
hivewallet.com
It works. No need for jsonp.

Sorry for the late reply and glad you figured it out!
member
Activity: 121
Merit: 14
Does your embedded browser has "Same Origin Policy"?

I made my site to give json info to feed the app but i am afraid it will not work and have to implement jsonp.

I'll test myself tomorrow, but now i have some problems with my mac ox image and will download a new OSX 10.8.2.


Keep up the good work!

It works. No need for jsonp.
member
Activity: 121
Merit: 14
Does your embedded browser has "Same Origin Policy"?

I made my site to give json info to feed the app but i am afraid it will not work and have to implement jsonp.

I'll test myself tomorrow, but now i have some problems with my mac ox image and will download a new OSX 10.8.2.


Keep up the good work!
full member
Activity: 145
Merit: 100
┗(°0°)┛
does hive save cookies?
I actually had to check - looks like the cookies are saved, but only for the duration of one session with Hive, when you quite Hive and restart it, they're lost. There's also localStorage, but it's also lost when you quit Hive, and it also seems to be shared between the apps. We'll have to tweak the WebKit settings - I've added a ticket here: https://github.com/grabhive/hive-osx/issues/101

Would it work if I just make a blank index.html redirect to ice-dice.com on load?
There's nothing in Hive that would stop you from setting a meta redirect there, but we'd prefer you didn't, because it's not designed to work this way. It will be a worse user experience because things will load slower, and the layout might not be adapted that well to the Hive window. You'd also have to be careful when you use the window.bitcoin object on your website so that you don't break it in other browsers.
full member
Activity: 154
Merit: 100
Ice-Dice.com | Massive Referral Bonus!
does hive save cookies?

Would it work if I just make a blank index.html redirect to ice-dice.com on load?
sr. member
Activity: 294
Merit: 250
I'm missing some step zero on how to use your bitcoin global object.

I'm running Hive Version 0.9 (2013102201), and there is no such global object named "bitcoin" that is accessible through the app. Does this build include it or what else am I supposed to do ? The relevant javascript might be as simple as console.log(bitcoin), and Web Inspector will give me a reference error.
Hmm, this doesn't make sense... This build definitely should include the window.bitcoin object in the JS context of an app. Open any of the built-in apps, e.g. supporthive, do a right-click and "Inspect" and check the console, you should see the bitcoin object there:

Ok, at least now I know for sure the object should be there so I rechecked the issue.

There seems to be some problem regarding overwriting a running application, which causes the bitcoin object to disappear. I can reproduce this every time by doing the following:

1) Create your app X and run it inside Hive;
2) While it is running, overwrite it (i.e. open myappx.hiveapp and confirm the overwrite);
3) Right click and click on Reload;
4) Right click and click on Inspect;
5) The bitcoin object is gone

How to fix the missing bitcoin object: restart the app.
full member
Activity: 145
Merit: 100
┗(°0°)┛
I'm missing some step zero on how to use your bitcoin global object.

I'm running Hive Version 0.9 (2013102201), and there is no such global object named "bitcoin" that is accessible through the app. Does this build include it or what else am I supposed to do ? The relevant javascript might be as simple as console.log(bitcoin), and Web Inspector will give me a reference error.
Hmm, this doesn't make sense... This build definitely should include the window.bitcoin object in the JS context of an app. Open any of the built-in apps, e.g. supporthive, do a right-click and "Inspect" and check the console, you should see the bitcoin object there:

sr. member
Activity: 294
Merit: 250
I'm missing some step zero on how to use your bitcoin global object.

I'm running Hive Version 0.9 (2013102201), and there is no such global object named "bitcoin" that is accessible through the app. Does this build include it or what else am I supposed to do ? The relevant javascript might be as simple as console.log(bitcoin), and Web Inspector will give me a reference error.
sr. member
Activity: 378
Merit: 325
hivewallet.com


Introducing the LocalBitcoins app for Hive.

Please note: as with Hive itself, this should be handled with great care and at the moment we do not recommend it for any kind of day-to-day use.

The latest releases will be made available here:
https://github.com/hivewallet/hiveapp-localbitcoins/releases

Issues can be tracked here:
https://github.com/hivewallet/hiveapp-localbitcoins/issues
Pages:
Jump to: