Slow Activity startup when calling FeedbackAPI.openFeedbackActivity()

Updated at:

Issue

The Activity sometimes opens slowly when you call FeedbackAPI.openFeedbackActivity();.

Problem analysis

The startup speed depends on network conditions because the configuration must be pulled before the Activity opens. A slow network can cause a significant delay.

Solution

You can use the openFeedbackActivity(final Callable success, final Callable fail) method. This method displays a "Loading" prompt before the call and closes the prompt during the callback.