docs icon indicating copy to clipboard operation
docs copied to clipboard

Android push notifications example app fails with "Only the original thread that created a view hierarchy can touch its views"

Open dpiatek opened this issue 4 years ago • 0 comments

I've copied verbatim the example app from the tutorial (replacing the API keys etc where necessary) and got "Only the original thread that created a view hierarchy can touch its views" error in the console when starting to log. The error is thrown here https://github.com/ably/tutorials/commit/android-push-step4#diff-063cf8734d18fa93dd0cd52e9782e589R62-R63. Removing those lines makes the app work.

This for the Push Notifications tutorial - for Android devices.

┆Issue is synchronized with this Jira Bug by Unito

dpiatek avatar Mar 23 '20 11:03 dpiatek