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

fixed hang when receiving confirmation tx submitted to mempool + SDK setting & GID persistence #9

Open
wants to merge 9 commits into
base: develop
Choose a base branch
from

Conversation

remyers
Copy link
Contributor

@remyers remyers commented Apr 11, 2019

  • fixed hang that sometimes occurred when receiving confirmation that tx was broadcast to Bitcoin network
  • added new setting to use a custom SDK Token instead of the default one (for pairing with txtenna.py on local computer)
  • use last GID from unconfirmed tx instead of regenerating; only regenerates when log is cleared or last transaction is confirmed

remyers added 7 commits March 18, 2019 13:42
  offline and unable to connect to the internet to confirm
  a transaction
… activity is recreated

  + change launchMode in manifest to 'singleTask' - only one txTenna activity should ever exist
  + instantiate transactionHandle in onCreate
  + move startTransactionChecker and addIncomingMessageListener to onResume only
  + move stopTransactionChecker and removeIncomingMessageListener to onPause only
  + perform  stopTransactionChecker and removeIncomingMessageListener outside of try/catch for unregisterReceiver
    (critical because IllegalArgumentException always thrown !!!)
  + added debug logging for lifecycle issues
- add setting to set custom SDK Token (app id)
  + show popup box instead of crashing if token is invalid
  + show popup box instead of crashing if token is invalid
  + show popup box instead of crashing if token is invalid
  + show popup box instead of crashing if token is invalid
  + show popup box instead of crashing if token is invalid
  + show popup box instead of crashing if token is invalid
@remyers
Copy link
Contributor Author

remyers commented May 3, 2019

Ping... would like to have that hang bug fixed and SDK token setting so people can test with txtenna.py easier.

… activity is recreated

				+ instantiate transactionHandle in onCreate
				+ move startTransactionChecker and addIncomingMessageListener to onResume only
				+ move stopTransactionChecker and removeIncomingMessageListener to onPause only
				+ perform  stopTransactionChecker and removeIncomingMessageListener outside of try/catch for unregisterReceiver
				(critical because IllegalArgumentException always thrown !!!)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant