-
Notifications
You must be signed in to change notification settings - Fork 26
Open
Description
In my config json file I have declared the default route to be handled by a custom handler, without specifying the activity, in the class field.
Everytime I get a deep link which is associated with the default route, I get an a JSONException.
I think this is because you handle the route in this way
private void handleRoute(JSONObject routeOptions, Map<String, String> routeParameters) throws JSONException {
HandlerExecutor.executeHandlers(routeOptions, routeParameters, handlers);
IntentBuilder.buildAndFireIntent(routeOptions, routeParameters, this);
}
The handler is called correctly, but the buildAndFireIntent execute this line instruction:
String activityName = routeOptions.getString("class");
which means the route must have a class field or a JSONException will be fired.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels