Closed gnarea closed 1 year ago
A more reliable, but more expensive, solution would be to create a new intent that the app sends to Awala to report when it's running for the first time ever.
Awala could then store the date, so that any incoming parcel whose PDA was created before this date is automatically ignored.
:tada: This issue has been resolved in version 1.13.23 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:
If the app is reinstalled or its data is cleared, the Awala app will notify it about incoming parcels for the old first-party endpoints, which would cause the app to crash with the following:
One fix could be to alter the following broadcast receiver to only call
checkForNewMessages()
when there's at least one first-party endpoint.https://github.com/relaycorp/awala-endpoint-android/blob/4504c6c934a123b384fc7469d63e8ca9f4710833/lib/src/main/java/tech/relaycorp/awaladroid/background/IncomingParcelBroadcastReceiver.kt#L16-L20