larsiusprime / crashdumper

A cross-platform automated crash report generator/sender for Haxe/OpenFL apps.
MIT License
113 stars 33 forks source link

Test update for mobile devices #14

Closed Hasufel closed 10 years ago

Hasufel commented 10 years ago

added dynamic SystemPath.applicationStorageDirectory calls (untested)

larsiusprime commented 10 years ago

Let me know once it's been tested.

larsiusprime commented 10 years ago

Also, I notice this change forces all platforms (not just mobile) into using paths prepended with ApplicationStorageDirectory -- this means that users who wanted to store their crash dumps in some other location will not be able to do so on platforms that allow file storage outside of ApplicationStorageDirectory.

Should we make the ASD prepend only occur on mobile?

larsiusprime commented 10 years ago

And in case it's not clear, thanks very much for this improvement :)

Hasufel commented 10 years ago

tested working on Windows, Android - should work on mac too.

Hasufel commented 10 years ago

To get the logs on Android without root: "adb shell" "run-as com.yourcompany.yourpackagename" "cd data/data/com.yourcompany.yourpackagename" "ls" to list files, nav using "cd" and "cat" anything