Lochlan
Lochlan
@promptdigital IIRC I never could get this to work on Android. Spent ages trying.
Just the code I pasted above.
Thanks, I did notice this same crash when migrating the project to the plugin-seed: https://github.com/lochstar/nativescript-cast/blob/plugin-seed/src/cast.android.ts#L834 I need to take another look at that branch and finish off what I started.
Hey @GastonVottero thanks for checking this out. It looks like you're on the right track bumping up those versions. I'm guessing there's been some API changes which is why you're...
I'd like this as well. Should be able to get it added for the next release.
I'll create a custom reciever that we can expand to handle our test cases. I don't think we'll need multiple. Leave this with me, I need this feature for one...
Working on it. Are you after iOS or Android support first?
You can check out the [custom-channel](https://github.com/lochstar/nativescript-cast/tree/custom-channel ) branch for the iOS work-in-progress. It has `addChannel`, `removeChannel`, & `sendMessage` functions added. See https://github.com/lochstar/nativescript-cast/blob/custom-channel/demo/app/main-view-model.ts#L122 for sample usage. It requires a bit more...
Yep. It immediately crashes with no error message when I try to create a new [com.google.android.gms.cast.Cast.MessageReceivedCallback](https://developers.google.com/android/reference/com/google/android/gms/cast/Cast.MessageReceivedCallback). ```ts const castSession = this.mSessionManager.getCurrentCastSession(); // Immediately crashes with no error ? castSession.setMessageReceivedCallbacks(namespace, new...
No, not copy pasted from another app. I've tried making it a named interface as well and get the same crash. As soon as `com.google.android.gms.cast.Cast.MessageReceivedCallback` is touched it crashes.