harmonwood / capacitor-video-player

Capacitor Video Player Plugin
MIT License
116 stars 46 forks source link

ExoPlayer 2.19.0 update, Cast and NowPlayingInfo fixes #133

Closed PhantomPainX closed 1 year ago

PhantomPainX commented 1 year ago

Android

This is not needed anymore:

import android.os.Bundle;
import com.google.android.gms.cast.framework.CastContext;

public class MainActivity extends BridgeActivity {
  @Override
  protected void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);
    CastContext.getSharedInstance(this); // <--- add this
  }
}

iOS

Fixed some bugs and functionality in NowPlayingInfo - RemoteCommandCenter

Bugs: