elective-stereophonic
elective-stereophonic
[Mac] Updated Nxt Wallet
Please login or register.

Login with username, password and session length
Advanced search  

News:

Latest Nxt Client: Nxt 1.11.15

Pages: 1 2 [3] 4 5 ... 7  All

Author Topic: [Mac] Updated Nxt Wallet  (Read 41078 times)

wesley

  • Ex-Staff Member
  • Hero Member
  • *****
  • Karma: +204/-3
  • Offline Offline
  • Posts: 1159
    • View Profile
Re: [Mac] Updated Nxt Wallet
« Reply #40 on: November 08, 2015, 06:10:02 pm »

@PoofKnuckle;

This issue is due to Apple no longer allowing the loading of http:// links, all links must now be https.

So either a self-signed cert needs to be added, or this functionality needs to be disabled.

Can be done in NxtWallet-info.plist by adding: 


Code: [Select]
<key>NSAppTransportSecurity</key>
<dict>
<key>NSAllowsArbitraryLoads</key>
<true/>
</dict>

I tried this on mine however, and it didn't work. I no longer got the error in my xcode console, but still it didn't load the page. I am however still on an older beta version so maybe this was fixed in the final release of el capitan. You may want to try it by adding the above and recompiling.
Logged

PoofKnuckle

  • Hero Member
  • *****
  • Karma: +111/-7
  • Offline Offline
  • Posts: 849
  • Your Concern is Noted.
    • View Profile
    • NXT FreeMarket
Re: [Mac] Updated Nxt Wallet
« Reply #41 on: November 08, 2015, 06:12:58 pm »

@PoofKnuckle;

This issue is due to Apple no longer allowing the loading of http:// links, all links must now be https.

So either a self-signed cert needs to be added, or this functionality needs to be disabled.

Can be done in NxtWallet-info.plist by adding: 


Code: [Select]
<key>NSAppTransportSecurity</key>
<dict>
<key>NSAllowsArbitraryLoads</key>
<true/>
</dict>

I tried this on mine however, and it didn't work. I no longer got the error in my xcode console, but still it didn't load the page. I am however still on an older beta version so maybe this was fixed in the final release of el capitan. You may want to try it by adding the above and recompiling.

Thank you! I'll try it and see what happens.

Logged
NXT: NXT-WBVP-83YM-FRB3-9MQLY
BM-NBTVHaA41Ejh2G6krD9p5vM62vk84isM

yassin54

  • Hero Member
  • *****
  • Karma: +240/-14
  • Offline Offline
  • Posts: 2503
  • I am Homer, Sorry my english is Bad!!
    • View Profile
Re: [Mac] Updated Nxt Wallet
« Reply #42 on: November 08, 2015, 06:32:05 pm »

heyyy @wesley welcome   :)
it is long time!!  ;D ;D 

farl4bit

  • Global Moderator
  • Hero Member
  • *****
  • Karma: +210/-45
  • Offline Offline
  • Posts: 3464
    • View Profile
    • Blockchain Twitter
Re: [Mac] Updated Nxt Wallet
« Reply #43 on: November 08, 2015, 06:33:42 pm »

@PoofKnuckle;

This issue is due to Apple no longer allowing the loading of http:// links, all links must now be https.

So either a self-signed cert needs to be added, or this functionality needs to be disabled.

Can be done in NxtWallet-info.plist by adding: 


Code: [Select]
<key>NSAppTransportSecurity</key>
<dict>
<key>NSAllowsArbitraryLoads</key>
<true/>
</dict>

I tried this on mine however, and it didn't work. I no longer got the error in my xcode console, but still it didn't load the page. I am however still on an older beta version so maybe this was fixed in the final release of el capitan. You may want to try it by adding the above and recompiling.

Tof je weer te zien man!  :)
Logged

farl4bit

  • Global Moderator
  • Hero Member
  • *****
  • Karma: +210/-45
  • Offline Offline
  • Posts: 3464
    • View Profile
    • Blockchain Twitter
Re: [Mac] Updated Nxt Wallet
« Reply #44 on: November 08, 2015, 06:36:55 pm »

I have this problem as well, my splash screen is stuck. It worked before though and I had been running the wallet for a while and only restarted the Mac and then I couldn't load the Nxt wallet. So how can I access my Nxt balance now?

If you have the NXT Wallet app stuck on the splash screen, then NRS is actually running. You can hide the app and go to this URL:

http://127.0.0.1:7876/

You will be able to access your wallet there.

The problem is that I can't get the UI to display in the app window, but it is still running, and you can get to it through your browser.

I tried it, but nothing happens when entering the passphrase and that is the only thing I can do. But accessing it on http://localhost:7876/index.html does the trick for me, but I need Nxt Wallet App running.
Logged

PoofKnuckle

  • Hero Member
  • *****
  • Karma: +111/-7
  • Offline Offline
  • Posts: 849
  • Your Concern is Noted.
    • View Profile
    • NXT FreeMarket
Re: [Mac] Updated Nxt Wallet
« Reply #45 on: November 08, 2015, 06:48:48 pm »


I tried this on mine however, and it didn't work. I no longer got the error in my xcode console, but still it didn't load the page. I am however still on an older beta version so maybe this was fixed in the final release of el capitan. You may want to try it by adding the above and recompiling.

Same here. It still runs, but the page doesn't load in the app, only in a browser.

Logged
NXT: NXT-WBVP-83YM-FRB3-9MQLY
BM-NBTVHaA41Ejh2G6krD9p5vM62vk84isM

EBK1000

  • Newbie
  • *
  • Karma: +0/-0
  • Offline Offline
  • Posts: 4
    • View Profile
Re: [Mac] Updated Nxt Wallet
« Reply #46 on: November 08, 2015, 08:23:14 pm »

The thing thought is that I was running the Nxt wallet for a while and had stopped and started it a few times and it opened up fine. It was just this last time after I restarted the Mac that it didn't come back up again. In the meantime I didn't change anything on the Mac side so I don't see why it should work sometimes and sometimes not.
Logged

farl4bit

  • Global Moderator
  • Hero Member
  • *****
  • Karma: +210/-45
  • Offline Offline
  • Posts: 3464
    • View Profile
    • Blockchain Twitter
Re: [Mac] Updated Nxt Wallet
« Reply #47 on: November 08, 2015, 08:26:38 pm »

Good to see NRS 1.6.2 and my wallet again!  :)

Run the app and then go to http://localhost:7876/index.html
« Last Edit: November 09, 2015, 08:34:18 am by farl4bit »
Logged

PoofKnuckle

  • Hero Member
  • *****
  • Karma: +111/-7
  • Offline Offline
  • Posts: 849
  • Your Concern is Noted.
    • View Profile
    • NXT FreeMarket
Re: [Mac] Updated Nxt Wallet
« Reply #48 on: November 09, 2015, 07:54:04 am »

The thing thought is that I was running the Nxt wallet for a while and had stopped and started it a few times and it opened up fine. It was just this last time after I restarted the Mac that it didn't come back up again. In the meantime I didn't change anything on the Mac side so I don't see why it should work sometimes and sometimes not.

The new version ran fine for me too, which is why I released it. It wasn't until later that it stopped working, and it hasn't worked since.

Logged
NXT: NXT-WBVP-83YM-FRB3-9MQLY
BM-NBTVHaA41Ejh2G6krD9p5vM62vk84isM

wesley

  • Ex-Staff Member
  • Hero Member
  • *****
  • Karma: +204/-3
  • Offline Offline
  • Posts: 1159
    • View Profile
Re: [Mac] Updated Nxt Wallet
« Reply #49 on: November 09, 2015, 10:35:52 am »

Thanks for the welcome!

Found the problem. It appears the developers have removed some code from NRS that allowed communication between the app and NRS.

You can view that in Supporting Files/startup/js/script.js at the very bottom. Had some event listeners there to allow copy functionality to work, the update event to be sent to the app, and also when NRS iframe had loaded completely.

This iframe messaging functionality appears to have been removed from NRS, so some of the buttons that allow you to copy a NXT id or something will no longer work.

Can work around this by adding the following to afterServerStarted in AppDelegate.m

After

Code: [Select]
    [_webView stringByEvaluatingJavaScriptFromString:[NSString stringWithFormat:@"document.getElementById('nrs').setAttribute('src', 'http://localhost:%@?app=mac-2.2.0');", _serverPort]];
add:

Code: [Select]
    [_webView stringByEvaluatingJavaScriptFromString:@"document.getElementById('nrs').contentWindow.focus();"];
    [_webView stringByEvaluatingJavaScriptFromString:@"document.getElementById('nrs_container').style.display = 'block';"];
    [_webView stringByEvaluatingJavaScriptFromString:@"document.getElementById('loading_indicator_container').style.display = 'block';"];
    [_webView stringByEvaluatingJavaScriptFromString:@"document.getElementById('server_output_container').style.display = 'block';"];

Use together with that NxtWallet-info.plist change and it should work again. Let me know.

Oh, and in Supporting Files/startup/index.html you'd probably best change the code to this (replaced 10_10 with 10_1):

Code: [Select]
if (/OS X 10_1/i.test(navigator.userAgent)) {
    root.className = "newmac";
} else {
    root.className = "oldmac";
}
Logged

farl4bit

  • Global Moderator
  • Hero Member
  • *****
  • Karma: +210/-45
  • Offline Offline
  • Posts: 3464
    • View Profile
    • Blockchain Twitter
Re: [Mac] Updated Nxt Wallet
« Reply #50 on: November 09, 2015, 03:38:23 pm »

Thanks a lot, but too technical for me.  :-X
Logged

PoofKnuckle

  • Hero Member
  • *****
  • Karma: +111/-7
  • Offline Offline
  • Posts: 849
  • Your Concern is Noted.
    • View Profile
    • NXT FreeMarket
Re: [Mac] Updated Nxt Wallet
« Reply #51 on: November 09, 2015, 06:36:06 pm »

Thanks for the welcome!

Found the problem. It appears the developers have removed some code from NRS that allowed communication between the app and NRS.

You can view that in Supporting Files/startup/js/script.js at the very bottom. Had some event listeners there to allow copy functionality to work, the update event to be sent to the app, and also when NRS iframe had loaded completely.

This iframe messaging functionality appears to have been removed from NRS, so some of the buttons that allow you to copy a NXT id or something will no longer work.

Can work around this by adding the following to afterServerStarted in AppDelegate.m

...


I don't have any uncompiled code. I have just been updating the version of NRS that lives inside the app package.

Logged
NXT: NXT-WBVP-83YM-FRB3-9MQLY
BM-NBTVHaA41Ejh2G6krD9p5vM62vk84isM

wesley

  • Ex-Staff Member
  • Hero Member
  • *****
  • Karma: +204/-3
  • Offline Offline
  • Posts: 1159
    • View Profile
Re: [Mac] Updated Nxt Wallet
« Reply #52 on: November 09, 2015, 06:39:42 pm »

Ah ok, I will compile it then.
Logged

wesley

  • Ex-Staff Member
  • Hero Member
  • *****
  • Karma: +204/-3
  • Offline Offline
  • Posts: 1159
    • View Profile
Re: [Mac] Updated Nxt Wallet
« Reply #53 on: November 09, 2015, 07:15:38 pm »

New version sent to poofknuckle for verification.
Logged

farl4bit

  • Global Moderator
  • Hero Member
  • *****
  • Karma: +210/-45
  • Offline Offline
  • Posts: 3464
    • View Profile
    • Blockchain Twitter
Re: [Mac] Updated Nxt Wallet
« Reply #54 on: November 09, 2015, 07:21:49 pm »

New version sent to poofknuckle for verification.

Great man! Almost 200 applauds.  ;D
Logged

duluth

  • Jr. Member
  • **
  • Karma: +11/-6
  • Offline Offline
  • Posts: 81
    • View Profile
Re: [Mac] Updated Nxt Wallet
« Reply #55 on: November 09, 2015, 07:28:41 pm »

Thank you much for fixing the Mac app! Was missing it...
Logged

PoofKnuckle

  • Hero Member
  • *****
  • Karma: +111/-7
  • Offline Offline
  • Posts: 849
  • Your Concern is Noted.
    • View Profile
    • NXT FreeMarket
Re: [Mac] Updated Nxt Wallet
« Reply #56 on: November 09, 2015, 07:29:10 pm »

New version sent to poofknuckle for verification.

Thanks! I am testing now, and should have it available for download soon.

Logged
NXT: NXT-WBVP-83YM-FRB3-9MQLY
BM-NBTVHaA41Ejh2G6krD9p5vM62vk84isM

yassin54

  • Hero Member
  • *****
  • Karma: +240/-14
  • Offline Offline
  • Posts: 2503
  • I am Homer, Sorry my english is Bad!!
    • View Profile
Re: [Mac] Updated Nxt Wallet
« Reply #57 on: November 09, 2015, 07:32:33 pm »

New version sent to poofknuckle for verification.

Great man! Almost 200 applauds.  ;D
+1  ;D

PoofKnuckle

  • Hero Member
  • *****
  • Karma: +111/-7
  • Offline Offline
  • Posts: 849
  • Your Concern is Noted.
    • View Profile
    • NXT FreeMarket
Re: [Mac] Updated Nxt Wallet
« Reply #58 on: November 09, 2015, 07:36:16 pm »

Thanks to Wesley for fixing the problem with the Mac Wallet!!!eleventy!11

I have confirmed it works, at least on El Capitan.

You can download it at the usual place:

http://nxtfreemarket.com/downloads/Nxt_Wallet_Mac.zip

MD5: 661ecdee5c3092d735de46daf52dbcda
SHA1: 009d277b1831bcf0d5e059c6f6e8b9878cc9dddf
SHA256: 9cd52ba10b0a769eeb8afa5c81fff38e7a45cc86225ce46daa77206f6ec796fb

Logged
NXT: NXT-WBVP-83YM-FRB3-9MQLY
BM-NBTVHaA41Ejh2G6krD9p5vM62vk84isM

yassin54

  • Hero Member
  • *****
  • Karma: +240/-14
  • Offline Offline
  • Posts: 2503
  • I am Homer, Sorry my english is Bad!!
    • View Profile
Re: [Mac] Updated Nxt Wallet
« Reply #59 on: November 09, 2015, 07:51:57 pm »

Pages: 1 2 [3] 4 5 ... 7  All
 

elective-stereophonic
elective-stereophonic
assembly
assembly