1.1.0
AppCenter
- [Feature] SDK modules can be skipped from being started automatically without code modification during instrumented tests. The SDK now reads
APP_CENTER_DISABLE
variable fromInstrumentationRegistry.getArguments()
and will not start any module if the value isAll
or will just skip starting the services described by a comma separated list of the services to exclude from being started. Valid service names for the variable areAnalytics
,Crashes
,Distribute
orPush
. The modules are always started if instrumentation context is not available (like when you build and launch your application normally).
AppCenterCrashes
- [Fix] Fix a crash when sending an attachment larger than 1.4MB. The SDK is still unable to send large attachments in this release but now it does not crash anymore. An error log is printed instead.
- [Improvement] Allow wrapper SDKs such as Xamarin to report a managed exception (for example for .NET stack traces) while still saving the exception for client side report as Java Throwable (so the original exception can be read from client side after restart by using the SDK).
AppCenterDistribute
- [Improvement] Updated translations.
- [Improvement] Users with app versions that still use Mobile Center can directly upgrade to versions that use this version of App Center, without the need to reinstall.
AppCenterPush
-
[Improvement] The Firebase SDK dependency is now optional. If Firebase SDK is not available at runtime, the push registers and generate notifications using only App Center SDK. The Firebase application and servers are still used whether the Firebase SDK is installed into the application or not.
- The SDK is still compatible with
apply plugin: 'com.google.gms.google-services'
andgoogle-services.json
, but if you don't use Firebase besides App Center, you can replace that plugin and the json file by a call toPush.setSenderId
beforeAppCenter.start
. The Sender ID can be found on the Cloud Messaging tab of your Firebase console project settings (same place as the Server Key). - The SDK is still compatible with
"com.google.firebase:firebase-messaging:$version"
lines. But if you don't use Firebase besides App Center, you can now remove these dependencies.
- The SDK is still compatible with