-
Notifications
You must be signed in to change notification settings - Fork 131
Can't disable autosend on 5.0.0 #280
Comments
Please add something to control auto send behavior |
Btw, I found the ugly solution. Initialize CrashManager with app context when processing finished. In my app, I strictly need to ask user whether send crashes or not. |
Hi, @yuriy-budiyev! |
I created PR to you can show UI for ask (in |
I aleady done this in my app, overrided onHandleAlertView, and show alert from activity context. And it worked well, when I called initialize method with app context, and execute method with activity context. In 5.0.0 execute method does not have context argument. |
Also, it will be good to add to CrashManagerListener callback onNoCrashesFound, or something like this. |
Got it. I guess this should be reverted.
Good point. Done in the same PR. |
I don't think reverting is necessary, simly add ability to show overriden alert dialog from app context. |
We just released HockeySDK 5.0.0, so I'm closing this. |
Auto send is enabled by default, if context is not instance of Activity.
CrashManagerListener#shouldAutoUploadCrashes() is ignored.
But if i'll initialize CrashManager with Activity context it will not be able to save crashes when my LauncherActivity will be closed.
The text was updated successfully, but these errors were encountered: