0

I was looking to put in a third party Android package, like https://github.com/google/ExoPlayer On android, you can add the dependencies to the build.gradle ...

implementation 'com.google.android.exoplayer:exoplayer:2.X.X'

How do you do the same to a nativescript-angular plugin? Now I do understand that you can do this by making your own android project, with a jar file as given in https://www.nativescript.org/blog/plugins-and-jars ... But this isn't the option to be able to do the same for android as well as ios.

Flyn Sequeira
  • 718
  • 2
  • 9
  • 25
  • 2
    Try adding it in plugin/platforms/Android/include.gradle – Saleh Mahmood Feb 02 '19 at 13:42
  • 1
    There is already an [exoplayer plugin](https://github.com/NathanaelA/nativescript-exoplayer/) for NativeScript, did you try that. May be you can take a fork the repo if you want to add any missing features. – Manoj Feb 02 '19 at 14:51
  • @Manoj It's specifically a video player, for angular. I needed it for HLS adaptive streaming But yes. Thanks for the idea! :D – Flyn Sequeira Feb 09 '19 at 06:01

0 Answers0