Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Client for Uno Platform (or .Net for iOS and .Net for Android) #271

Open
trydalch opened this issue Nov 25, 2024 · 3 comments
Open

Client for Uno Platform (or .Net for iOS and .Net for Android) #271

trydalch opened this issue Nov 25, 2024 · 3 comments

Comments

@trydalch
Copy link

We use Uno Platform for our mobile app development and would love to use Superwall if there were a .net SDK. Please consider adding one (or creating some documentation on creating new SDKs so that we can provide one as a community)

@anglinb
Copy link
Collaborator

anglinb commented Nov 25, 2024

Hey @trydalch! Unfortunately I don't think we have the bandwidth to tackle this ourselves currently. However, I don't think it's actually a huge life to build out bindings for .NET. You can take a look at https://github.com/superwall/react-native-superwall and https://github.com/superwall/Superwall-Flutter. They are both pretty small wrappers around the iOS and Android SDKs. Would you mind taking a look and seeing what you think?

@trydalch
Copy link
Author

Hi @anglinb I'll take a look. I don't think it would be too difficult to put a .net binding project together for each of those and publish on nuget. The biggest question I have right now is around testing. Looking at both of those libraries, it looks like neither one has tests implemented.

Any guidance on that?

I may have some time to begin working on a .net SDK soon.

@anglinb
Copy link
Collaborator

anglinb commented Nov 27, 2024

Hey @trydalch! Yes, there aren't automated tests for the client wrappers. Since it's really just a shim over the platform libraries, we just run through a manual process when making changes. It's really hard to isolate just the wrapper.

You can take a look at the Superwall iOS UI Tests for inspiration on what to test. https://github.com/superwall/Superwall-iOS-UI-tests

Sweet, would love for you to take a stab at it! I think the most important APIs you'd need to setup bindings for are configure, setUserAttributes and register. Other than that if you're letting Superwall handle the purchase you might be good enough to get going!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants