Assumed I want to build an ToDo-list app for Android and iOS that uses RealmDB for storage and synchronisation. Would it be possible to use Realm in a ASP.NET based Web-Service as well to provide a webbased access to the ToDo-list?
Realm for .net requires Xamarin and it only runs on iOS and Android, although there is a popular issue requesting Windows support. It's not possible to use Realm in an ASP.NET application right now, but it's likely that this will be enabled soon.
Disclaimer: I work on Realm for Xamarin
Related
I am creating an iOS application using Xamarin Forms which is a copy of an Android application written in Kotlin.
There is a section that lists all the applications installed in the current device by the user. I want to implement the same functionality in the iOS application too.
Is it possible to get the applications list in iOS through Xamarin Forms?
This is impossible on iOS and it is not possible on Android either if you target latest API levels, so in some future when those API levels become required on Google Play you won't be able to do this.
This is a huge privacy issue, as having the list of apps may reveal something very personal and private and as soon as the app has it there is nothing that prevents it to send the info to the 3rd party server.
There is a mess of services converting your existing web application into a native iOS and/or Android app.
For push notifications they all support OneSignal.
But I couldn't find any supporting Pusher.com.
Did anybody know a service like GoNative which support Pusher?
Thanks.
While I am not familiar with app conversion tools you mentioned, you should be able to use Pusher Beams SDKs for Android and iOS directly.
You can find the SDKs here:
iOS: https://github.com/pusher/push-notifications-swif
Android: https://github.com/pusher/push-notifications-android
And there are several tutorials published on Pusher Tutorials site, just search for the Beams tag:
https://pusher.com/tutorials?tag=Beams
I am creating small project in xamarin.form (to learn xamarin and mvvm pattern ), where my mobile application will be connect to SQL Server database. On every forum people suggest to use Web Api to get json's from database and next in xamarin application i go under link where is json, parse it and its done. I did an test project which is doing that and it works very well. Unfortunatelly after few days I realized that all data is visible.. If I enter under url/api/subject I get this data in json.
My question is. Should I connect from my xamarin application directly to SQL Database OR is there any way to not showing json's in browser?
To function correctly, many mobile applications are dependent on the cloud, and so integrating web services into mobile applications is a common scenario. The Xamarin platform supports consuming different web service technologies, and includes in-built and third-party support for consuming RESTful, ASMX, and Windows Communication Foundation (WCF) services.
This article discusses this topics.
For customers using Xamarin.Forms, there are complete examples using each of these technologies in the Xamarin.Forms Web Services documentation.
I recommend you learn more about REST architecture
I have a really simple question yet not answered (I think) in realm documentation. I am buildint and App that does have API + iOS App + Android App + Web. The web also needs to access to the API and here comes my question:
If I migrate to realm for iOS, Android and api, would it be possible to use it for the web through any type of calls? If so, could you give me some links or documentation to read?
I am assuming you are referring to using the Realm Object Server as your backend. Right now, the server does not offer a web interface, such as a built-in REST API.
Instead, you could build this with the enterprise edition that offers a Node.js SDK where you can access the Realm data server-side. You could create REST endpoints and then retrieve/apply data via the Node.js SDK. Any change that came in through the REST API would then be automatically synced to the mobile clients.
If Realm is a replacement for SQLite how can it be used with a platfrom product that includes a Rails web app and an iOS app? Is Realm suitable for the Rails app, or is there a better option / solution?
Realm does not currently have a Ruby binding, so it cannot be used by a Rails app.
This is now possible.
Realm can be used with Ruby (and Rails) over GraphQL. You can use any GraphQL library you like to send queries and mutations to either your own Realm server or a hosed one on Realm Platform.
However, as there is (currently) no "ActiveRealm" style adapter it requires writing your own.
Here are the docs on making the requests themselves.
https://docs.realm.io/platform/graphql-web-access