Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

App crashes at startup right before the transaction list. #626

Open
kukabi opened this issue Nov 24, 2020 · 0 comments
Open

App crashes at startup right before the transaction list. #626

kukabi opened this issue Nov 24, 2020 · 0 comments
Assignees

Comments

@kukabi
Copy link
Contributor

kukabi commented Nov 24, 2020

Describe the bug
From Telegram:

Johnny Lemoni, [23 Nov 2020 18:05:56]:
The app, after the net reset, was redone loaded and installed. Since then it was working as expected with some outgoing and incoming transactions working just fine.
Today, out of the blue, I opened the app and had the same behavior. After unlocking the app with Face ID, which happens as soon as you open the app, the app crashes to main screen.

To be exact it after the login I see the Tari Aurora logo which merged into a single line. When this happens the wallet crashes.

Smartphone (please complete the following information):

  • Device: iPhone 11 Pro
  • OS: iOS 14.1

Additional context
Issue 267 no Sentry.

@kukabi kukabi self-assigned this Nov 24, 2020
kukabi added a commit that referenced this issue Nov 24, 2020
kukabi added a commit that referenced this issue Nov 25, 2020
stringhandler pushed a commit that referenced this issue Sep 15, 2021
* #107
moved all NSLocalizedStrings to the language file and replaced the names in the swift code with slugs.

* Only sync after starting wallet. Updated lib.

* aes cbc encryption\decryption with initial vector + password salting
aes encription tests

* FFI function for partial backup. New completed TX direction function.

* Add sentry bread crumbs. Additional tor logging. Tor config change.

* UI implementation for autobackup wallet
wallet backup error handling
atomic cases handling
added password screen for verify before change backup password and for restore wallet

* Background auto backups will continue after app is closed

* added scheduling for auto backup
added changes to background backups

* added removing backup when "iCloud Backups" switch turn off. It's also has influence on fix wrong mark on settings screen

* hotfix, fixed getting last backup when restore wallet

* added class for Backup that contains needs properties that improve usage logic

* Lowering tor version. Retain cycle check for tor callback. Lib version bump.

* Copy fix

* added tests for backup and restore wallet
added mock for iCloud services (download and upload)
added able to immediately creation backup if backup is scheduled
fixed creation backup failure while app start after terminate

* #443
#446
added redirect user to splash screen after receive "no backups" error while restoring wallet
added able to send bug report from settings screen

* fixed error while restore wallet after terminate and start application

* Log base node by name. Keep reusing the last working BN.

* Backup prompt modals

* Fixes git recognising localized strings as a binary file

* fixed wallet unit tests error

* Only sync with a basenode after to successfully connects

Version bump

* added password length validation

* Partial backups FFI update

* fixed problem with test folder

* added creation partial backup if wallet is not encrypted

* Wait for wallet to restart instead of showing user errors

* fixed test for partial backup. Fixed paths to test directory

* fixed date format for last successfull backup
fixed display error description for create wallet backup failure
fixed splash screen elements sequence and spacing
fixed error when user cant enter password after biometric auth error
addded transition to backup menu after set backup password

* auto-backup time interval changed to 1 min
correctness for password of first field is higher than confirmation and should be fixed first by user. (changed warning behavior)
changed password length warning
added Out of date label if users last backup failed or not valid backup.
last backup label and able to change password while backup is scheduled

* added restoring backup settings after restore wallet

* added new scheduled icon

* added tx list status bar messages for backup states
disabled iCloud backup if user disabled iCloud Drive from phone settings

* Backup prompt logic tweak

* Lib wallet update

* #500
tari-project/wallet-android#429
#508

* Transaction list redesign

Refactoring table sections into one sorted list

Transaction cell text wrapping

* #500
#506
#507
#509
#510
#512
#513
#515
added check for network connection speed

* #506

* Reduces the upload backup timeout period to 20 secs. Changes Rincewind network display name to Testnet.

* implemented tab bar app navigation

* fixed backup and restore unit tests

* autobackup hotfix
fixed: "modal window with backup fail message shows only on settings screen"
removed triggering a backup when direct/s&f send fails

* fixed transition to home screen after sending a tx

* fixed wallet error if user go to background during auth

* #516

* Basic giphy integration

* fixed layout constraints errors for tx table cell
fixed status bar color

* fixed wrong gif height after loading gif
added loading/retry download gif button
fixed gif aspect ratio

* Giphy attribution and showing gif on TX detail view

* Design updates. Slide button triggers after 50% of the distance.

* Scroling TX detail view. Fastlane build bump function.

* Update README.

* Added back iCloud code that was accidentally removed.

Hiding the gift button on the home screen.

Skipping iCloud initialise code to avoid simulator crashes

* Fix gif aspect ratio on add note view

Use high res gem image on splash screen

Fixed gif aspect ration on TX detail view

Add note scroll view with keyboard behavior improvements

Removed bottom inset for TX list

* Backup prompt copy fix

* Tor version update

* Balance labels spacing fix

Fixed height and icon offsets of tab bar

Allow the floating panel to higher for phones without a notch

Pod updates

* Giphy panel fix and tor version lowered

* A possible fix for the startup/connection change Tor crash bug.

* TX cell design tweaks

* Removing the need for the wallet to be started for logging to be done through FFI

* Including missing cancelled transactions in new full list

* Emoji id component polish and improvements. Covers #550.

* Fixes a bug where condensed emoji id showed on top of the the Giphy search view controller in add note screen #560. File and variable name improvements.

* Updated gem icon

Removed balance label kerning

Fixed flashing purple retry button

Stops things from animating on the add recipient view just before it navigates away

* added loading state for addNote screen after finish sliding send button
added show/hide animation for giphy carousel on addNote screen

* Sends user back to transaction list after a send error (was sending to add recipient screen). Profile screen QR code container polish. Emoji Id view animation and look improvement. Made the emoji id scrollable in paste emoji id banner of add recipient screen.

* Persisting tor identity to iOS keychain

* Standardized on bottom buttons

Slide to send button bottom padding fix

Only show "loading gif" when there is an actual gif

* A possible fix for the bug that causes the app to get stuck at the sending screen after a failed send attempt.

* 1) added reusable cells for transactions list. Usage of reusable cells allows to avoid blinking of cells as much is possible. Some times method dequeueReusableCell returnts cell not for current indexPath and we can see blinking. We can't avoid that because GPHMediaView has micro delay for set new media.
2) added updating transaction timestamp in real time

* Updated Tor port. Updated lib version.

* added app version on the debug menu when shaking the device

* prompt modal do not show up if  iCloud backup is on

* fixed overlaps if status labels during animation

* updated behavior for pull to refresh and floating panel
fixed blinking while end refreshing uiRefreshControl
fixed navigation bar animation during move floating panel

* Possible fix for #588.

* amount label horizontal centered
added shadow for navBar on webStore view
empty transactions message vertical centered
splash screen disclaimer cut fix (SE 1st generation)

* wallet-ios #109
Refactor lib and all implementations to use `Tx` instead of `Transaction` everywhere

* wallet-ios #591
fixed unable to navigate to Telegram using the links from within the TTL store

* Using callback_saf_message_received in the notification extension

* Version bump

* wallet-ios #601
keypad design updated according to zeplin
fixed layout constraint conflict

* wallet-ios #604
fixed labels text

* Fix for a bug that caused the app to get stuck at sending screen on a network/send error. Related to #588.

* fixed transaction duplication using Set and override isEqual
improved gif caching. Now cached gif will be released from memory if memory is overstock
added cell prefetch

* fixed layout for gif view and other elements
added shadow for navigation bar if content is "under navigation bar"
removed note placeholder hardcode label and added textview behavior for placeholder

* txList refactoring
pull to refresh logic improvement
list refresh logic improvements

* added new layout rules for iPad version
fixed crashes related to iPad

* fixed empty state for tx list

* added completion for change background view

* fixed tx status value color

* fixed scanVC presentation style for iPad.

* fixed steps duplication (secure and notification) during wallet creation

* fixed tor restarting error
added improvements for OnionManager for implementation bridges changing functionadded able to set custom bridges for Tor configuration
added advanced settings to settings screen
added returning to previous bridges after tor connection error
added progress handling for tor connecting
added able to scan and upload QR code with bridges
added able to go tor website to get bridges

* Better error message for too many faucet requests : ari-project/wallet-ios#616.

* txList blinking fix and behavior improvement
fixed blank screen after tari sending

* Closes a possibly open soft keyboard when the user feedback dialog shows.

* fixed blank screen after sending tari flow

* fixed crash during start app on sim 14. Iobfs4proxy.framework error. Packages of this framework were compiled with gomobile.
framework which was compiled with this Go version does not compatible with sim 14

* FFI lib 0.16.9 update - introduces key-value storage to the wallet library wrapper class and a corresponding test case. Base node list update. Solution for the startup crash bug re #592 #623. Fixes an edge case error in the test case "testRelativeDayValue".

* Set build and version number.

* Delete wallet option in advanced settings. Check network compatibility at app startup and give the user the option to delete wallet and start fresh. Check network compatibility for a restored wallet. Bump build number.

* Bump build number for production release. A small improvement in the wallet deletion flow.

* Refactoring, clean-up and readability improvements pt.1.

* Solution for the startup crash #626.

* Improve tx list refresh control UX. Readability improvements continued.

* Further improvement regarding #626.

* Bump build number and version.

* Added OpenSSL-Universal cocoapod

* Upgrade to libwallet v0.16.12.

* Bump build and version numbers.

* Update wallet lib to v0.16.13. Bump version and build number.

* Wallet Library - Estimate tx fee (#630)

* Added method to wift wrapper for estimating fees

estimateTxFee was added to wallet.swift, which in turn calls wallet_get_fee_estimate in the wallet library.
Linked to PR: tari-project/tari#2526

* Replaced outdated code

Replaces calculateTxFee with estimateTxFee

* Covers the not enough funds error case. Upgrade libwallet version to 0.16.14. Makes default output count = 2.

Co-authored-by: kukabi <[email protected]>

* Bump version and build number.

* Updates for libwallet 0.16.17 - remove Tor identity from transport configuration. Stibbons testnet update. A potential fix for the issue that causes the testnet reset warning dialog to display randomly.

* Clear the user defaults fully on wallet deletion.

* Bump build number.

* README update.

* Added confirmation settings (#633)

Added methods to get and set the number of required confirmations for the wallet.

* Update for the new wallet library base node sync validations functions. Refresh transaction list when the app moves from background to foreground. Support for mined-unconfirmed transaction state. Various refactoring.

* Bump version and build number.

* v0.6.1 b165 - disable push notification extension. Bump build number.

* Enable seed words write down screen and interface it with the FFI. Allow for more decimal places (down to uT) in add amount screen and amount displays.

* Bump build number and version.

* Fixes a rounding bug.

* Added saf message duration (#635)

* Improves background/foreground transitions, Tor connection and wallet management & init/deinit. Fixes the network reset dialog bug. Wallet library 0.16.27 update. Better handling of the FUNDS_PENDING case in the add amount screen. Readability improvements.

* Update dependencies and fix versions for breaking updates in the podfile.

* Update SwiftLint - lint adds a space after each //.

* Bump build number.

* Fixes a bug that caused the GIF to not display in some cases due to invalid resource management logic. Better decimal figures formatting in the transaction list.

* Bump build number.

* Display a tooltip view for the long press action on the Copy Emoji ID button to copy the public key in hex format.

* Display wallet balance in add amount screen.

* Rotate Giphy keywords in add amount screen.

* Fixes a backup bug. Minor copy and UI changes.

* Bump build number.

* Adds confirmation progress display for completed transactions. Fixes failing tests.

* Bump build number and version.

* connection_status

- Added connection status dot on home screen.

* sqlite_encryption - [iOS] Wallet encryption (#637)

- Implemented DB encryption functionality. Now, some fields in local sqlite3 DB will be encrypted. The encryption key (aka passphrase) is generated by the app.
- App will now remove temporary backup files when the app was unable to upload these files to iCloud.
- Added additional value stored in KeyChain - DBPassphraseKey
- Renamed BPKeychainWrapper to AppKeychainWrapper to better indicate the role of this element

* set_base_node - set base node or select from list (ios) - add to advanced settings (#639)

- User now will be able to select the base node from the list from the advanced settings section.
- User can now add and remove custom base node to/from the base node list.

* Bug fixes (#640)

- fixed issue with unresposive status dot on the home screen. Now, it will update it's status even when user change the base node in settings
- fixed issue with reusing cells in settings. Now, cells will not inherit red text and arror color from the reused cell

* Weatherwax network (#641)

- Updated base nodes
- Added a new network option and made it active.

* [iOS] Add in wallet recovery from seed words screens (#642)

- Added restore wallet from seed words flow aviable from the welcome screen

* App version update (#643)

- Updated app and build versions
- Updated TOR framework from 0.4.3.6 to 0.4.6.5

* UI changes on restore walllet scene (#644)

- Updated text colors and texts on the restore walllet from seed words scene.

Co-authored-by: Jason van den Berg <[email protected]>
Co-authored-by: SerhiiShovkoplias <[email protected]>
Co-authored-by: kutsal kaan bilgin <[email protected]>
Co-authored-by: SerhiiShovkoplias <[email protected]>
Co-authored-by: StriderDM <[email protected]>
Co-authored-by: Adrian Truszczyński <[email protected]>
Co-authored-by: Cayle Sharrock <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant