| Update Android SDK to allow developer to act when an error happens trying to talk to the Metrics Service. Today if you try to use MetricsServices (or whatever service) and there is no info related to it in the mobile-services.json you will receive a RTE (ConfigurationNotFoundException) See: https://github.com/aerogear/aerogear-android-sdk/blob/master/core/src/main/java/org/aerogear/mobile/core/MobileCore.java#L154-L157 See top level investigation issue: https://issues.jboss.org/browse/AEROGEAR-2790 Trello board: https://trello.com/c/pYV8kinn/50-3-as-a-developer-if-metrics-server-is-not-provisioned-available-and-i-use-security-metrics-in-my-application-my-app-android-ios Tasks
- If metrics config is not available we should not fail or crash application.
We should not instantiate metrics. SDK that rely on metrics (security) should handle that properly and not fail for user.
|