Closed diegostamigni closed 4 years ago
@jamesmontemagno any update on this? any change you want me to make?
Is there no way to combine the ios implementation with the tvOS ones? they are similar if not the same...
You can do something like: https://github.com/xamarin/Essentials/blob/master/Xamarin.Essentials/Xamarin.Essentials.csproj#L82-L95
Leave it with me, I have an idea 👌
Regards, Diego
On 10 Dec 2019, at 19:45, James Montemagno notifications@github.com wrote:
Is there no way to combine the ios implementation with the tvOS ones? they are similar if not the same...
You can do something like: https://github.com/xamarin/Essentials/blob/master/Xamarin.Essentials/Xamarin.Essentials.csproj#L82-L95
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.
Right @jamesmontemagno I've unified iOS and tvOS under a .apple.cs shared file. You'll see in the code changes that I'm returning Permissions.Unknown
when something isn't supported by tvOS but I wonder if we should rather throw. Up to you, if you like throwing let me know and I'll do that instead.
If it is something not support it should return Granted I think. This is what I do on iOS/Android
Fair enough, I’ll change to that then
Regards, Diego
On 12 Dec 2019, at 06:02, James Montemagno notifications@github.com wrote:
If it is something not support it should return Granted I think. This is what I do on iOS/Android
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.
Back to you @jamesmontemagno .. all changes applied 😄
Made some small edits, mostly just trying to get CI to kick off :)
Super cool 👍
Anything I can do to help getting this merged in @jamesmontemagno ?
Changes Proposed in this pull request: