victordiaz / PHONK

PHONK is a coding playground for new and old Android devices
https://phonk.app
GNU General Public License v3.0
461 stars 26 forks source link

Fixed bug in password to-char-array #35

Closed topherCantrell closed 4 years ago

topherCantrell commented 4 years ago

The cast to (char[]) will always fail for String. The String class has the method "toCharArray()" to do the conversion. Note that the MQTT example uses the key "username" instead of "user".

victordiaz commented 4 years ago

@topherCantrell thx for the pull request, I just updated the examples to match the user field

https://github.com/victordiaz/PHONK-examples/commit/8c79af2b85b04013307d8c56ef60d7cebb3ebf71

topherCantrell commented 4 years ago

Oh man! Thank YOU for the awesome library! Sooooo great!

On Fri, Jul 3, 2020 at 3:43 PM Victor Diaz notifications@github.com wrote:

@topherCantrell https://github.com/topherCantrell thx for the pull request, I just updated the examples to match the user field

victordiaz/PHONK-examples@8c79af2 https://github.com/victordiaz/PHONK-examples/commit/8c79af2b85b04013307d8c56ef60d7cebb3ebf71

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/victordiaz/PHONK/pull/35#issuecomment-653672874, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABKK6QOQROOOUNBDEI7XVWLRZY7F3ANCNFSM4OQA4QBA .