echo"At the moment this app is in closed beta testing and the source code has not been published yet."
echo"1. Install the app 'TestFlight' from Apple Appstore. Open it and agree to all terms of services."
echo"2. Open on your iOS device https://github.com/LN-Zap/zap-iOS and follow 'Download the Alpha'"
echo""
echo"*** PAIRING STEP 1 ***"
if[${local} -eq 1];then
echo"Once you have the app is running make sure you are on the same local network (WLAN same as LAN)."
fi
echo"During Setup of the Zap app you should get to the 'Connect Remote-Node' screen."
echo""
echo"---> Click on Scan"
echo"Make the this terminal as big as possible - fullscreen would be best."
echo"Then PRESS ENTER here in the terminal to generare the QR code and scan it with the app."
read key
clear
# display qr code on LCD
echo"*** PAIRING STEP 2 : Click on Scan (make whole QR code fill camera) ***"
./XXdisplayLCD.sh qr.png
lndconnect --host=${host} --port=${port}
# show pairing info
echo"(To shrink QR code: CTRL- or CMD-) Press ENTER when finished."
msg=""
read key
if[${local} -eq 1];then
msg="Make sure you are on the same local network (WLAN same as LAN).\n\n"
fi
msg="${msg}When you start the App choose to connect to your own node.\n\nClick on the 'Scan QR' button. Scan the QR on the LCD and <continue> or <show QR code> to see it in this window."
whiptail --backtitle "Connecting Mobile Wallet"\
--title "Pairing by QR code"\
--yes-button "continue"\
--no-button "show QR code"\
--yesno "${msg}"2065
if[$? -eq 1];then
lndconnect --host=${host} --port=${port}
echo"(To shrink QR code: OSX->CMD- / LINUX-> CTRL-) Press ENTER when finished."
read key
fi
clear
# clean up
echo"If it's not working - check issues on GitHub:"
msg="Once you have the app is running make sure you are on the same local network (WLAN same as LAN)."
msg="Once you have the app running make sure you are on the same local network (WLAN same as LAN).\n\n"
fi
fi
msg="${msg}On Setup Step 'Choose LND Server Type' connect to 'DIY SELF HOSTED'\n\n(Or in the App go to --> 'Settings' > 'Connect to your LND Server') \n\nThere you see three 3 form fields to fill out. Skip those and go right to the buttons below.\n\nClick on the 'Scan QR' button. Scan the QR on the LCD and <continue> or <show QR code> to see it in this window."
msg="${msg}On Setup Step 'Choose LND Server Type' connect to 'DIY SELF HOSTED'\n\n(Or in the App go to --> 'Settings' > 'Connect to your LND Server') \n\nThere you see three 3 form fields to fill out. Skip those and go right to the buttons below.\n\nClick on the 'Scan QR' button. Scan the QR on the LCD and <continue> or <show QR code> to see it in this window."
whiptail --backtitle "Connecting Shango Mobile Wallet"\
whiptail --backtitle "Connecting Shango Mobile Wallet"\