kazo0 / GoogleMediaFramework-Xamarin

Xamarin Binding Library for GoogleMediaFramework (with IMA SDK integration)
Other
1 stars 3 forks source link

Errors when integrating this package into Xamarin Forms application #3

Open ossentoo opened 7 years ago

ossentoo commented 7 years ago

Hi Kazo0,

I've been having all sorts of problem integrating this framework into a Xamarin Forms application.

I tried to integrate into both Android and iOS, but then gave up because I received all kinds of build (java) errors.

Do you have a Xamarin.Forms sample project that shows how the GoogleMediaFramework-Xamarin can be integrated? Can be really basic just to point me in the correct direction.

I have been experimenting with upgrading the Google packages in your Android samples. I managed to get it working, but noticed that I cannot upgrade the Xamarin GooglePlayService packages to anything higher than 29.0.0.1. Attempting to do this results in build errors. Any idea why this is? Ideally the framework would use later packages.

If you'd like to see whether my upgrade is worth including, I can create a fork/pull request.

thanks

corgalore commented 7 years ago

I'm also trying to use this component in a Xamarin Forms application. I was able to get it working by creating an Android PageRenderer, which requires launching a new activity in order to use the player. I would like to override it as an Android ViewRenderer instead, so I can drop it in an existing page as an element. Do you have any examples laying around that describe that? I noticed the player has a .SetFullscreenCallback method, but I'm not sure how to assign that from inside a ViewRenderer.

Thanks!