Migrating from v3.1.0 to v3.2.0
stoppingAppPausesPlayback
is deprecated
await TrackPlayer.updateOptions({
+ android: {
+ appKilledPlaybackBehavior: AppKilledPlaybackBehavior.ContinuePlayback
+ },
// This flag is now deprecated. Please use the above to define playback mode.
- stoppingAppPausesPlayback: true,
}
compileSdkVersion
33
The upgrade to v3.2.0
requires a minimum compileSdkVersion
of 33
:
- compileSdkVersion = 31
+ compileSdkVersion = 33