realm / realm-dotnet

Realm is a mobile database: a replacement for SQLite & ORMs
https://realm.io
Apache License 2.0
1.25k stars 163 forks source link

Write LoginKit #1167

Closed AndyDentFree closed 4 years ago

AndyDentFree commented 7 years ago

Note that current repo needs a reorg to push Swift down a level

nirinchev commented 7 years ago

Can't we just create Xamarin bindings?

AndyDentFree commented 7 years ago

Can't we just create Xamarin bindings?

was a suggestion to use bindings to call the native components written in Java and Swift.

I think it's much cleaner to copy their layout specifications and rewrite the minimal code in C#.

In addition we need a Xamarin Forms version.

As Xamarin themselves are happy in at least one major recent sample to use AcrUserDialogs I think we can continue to do so. They were used in RealmTasks. That will simplify the UI side.

nirinchev commented 7 years ago

Xamarin Forms projects can use native controls, we just need to provide a renderer. Why do you think it's cleaner to rewrite a bunch of UI code instead of exposing the configuration API and proxying the calls to native?

AndyDentFree commented 7 years ago

People want to control look and feel in their apps and login screens may be presented very early in the flow. I think the effort is similar and our native screens are not sufficiently complex to justify them being done native.

Get product management to decide the debate.