Open jsakuda opened 7 years ago
I noticed that the new accounts don't contain renewal and expiration information in the subscription JSON and this is causing the JSON parser that is currently on iOS to choke. It is used to show the renewal date and frequency. @jmaurice Can this information be included or faked for now?
This is from the test account provided to us:
{"secret":"GQ37AC7UWTYJVUQ2PZZSANQB3KWZDG5EJ3YCYQHKCYM4HJT57ZEED4RGEQGJQZPSOH4GAI53EKEEL4OOYFV4KIOL5MV7D74FD25QMU","privacy":{"username":"DT7CMZR7VFSQU4X3BJNWDJL5BE","password":"4R3FGLKU5QWY62AK4ERUBJ4AI"},"account":{"id":"DMIGTQVHAKHGOVUMDAYVIWC4QJCCQYLSR5G7JIOXH5DBBPKY6BK","email":"james+free@slickage.com","confirmed":true,"type":"free"},"subscription":{"renewal":"forever","expiration":"0"}}
This is from a new account:
{"secret":"B5HVSPCW4SBNFEVCLCI5RSAIE6D4NRGKVSCDTUCDM2FMMLII2UMDANAZD4EZ5NKLY7TA26ZIWKOO2FHKWNJ56FFVDOTYV7YWLMV5L2F","privacy":{"username":"OFE2JC2L5RB7KXXXUGGSVWSAQ","password":"LSO5FWAJHKSVJXEILV4UXP5AI"},"account":{"id":"6SKHP42EFAWN77ATYOZFEDWQSVYUKZ6GNO4ZLVQDMGEZAKUXNZN","email":"julie+test100@slickage.com","confirmed":true,"type":"premium"},"subscription":{}}
For some reason it seems like accounts that have been created via iOS work on the Cypherpunk website but don't work on iOS. It will not accept the user's password but it does think they have an account per the email address.
Test accounts provided by @jmaurice work ok and can be logged into.