Meteor phone app persistent data - meteor

Is there a way for a Metoer mobile app to keep persistent data offline and between restarts? I've tried to find some info but can't find much about this. How would data then be resolved (be put back on the server, perhaps with conflicts).

Interesting question! If found a link to a post that poses a solution using grounddb. Using the grounddb package supposidly also works accross app reloads. See the article here: http://rafaelquintanilha.com/offline-app-with-meteor-and-cordova/

Related

Is there a way for Expo applications with the managed workflow to be distributed to testers with an invite link?

It should be as simple as possible for the testers. Best case would be a link that they can click on that directly installs the app on iOS and Android devices (maybe through another app similar to testflight). As we're using Firebase in our application I looked at Firebase App distribution but it seems that it doesn't work with the managed workflow of Expo. We would need to eject our app to (possibly) make it work. As we have only a limited amount of time until the test I would like to avoid a lenghty evaluation process like the one testflight requires.
Thanks in advance for any recommendations!
Apps using Managed Workflow can be shared via Expo Go: https://docs.expo.dev/guides/sharing-preview-releases/
After some research I came across diawi.com which seems to offer what I'm searching for. It's really easy for the testers, they just have to scan a qr code or click on a link and the app actually appears as a standalone application.

Can Realm be used on a Web-App on PC as well?

I am currently working on an app with React Native and we have quite some problems deciding which Database to use.
Realm is one of the options which came into the closer circle, but we are now wondering if it is possible to access a Realm database from both a device and a Desktop/Web Applikation?
Thank you for your time.
Short answer is: 'yes' it can be used.
Please look at comments for more detail.

How to develop a web browser using c# .net using installed.net libraries and without using the web browser control?

I have searched the internet for 2 days having found no answer to the below requirement. What i found most were GeckoFX and CefSharp which are external packages and not installed libraries. How can this be done?
I have been asked to do the following:
Use a suitable library function out of the set of libraries installed with the .NET platform. You must not use the C# WebBrowser class but perform the required HTTP-level communication directly from within your code. The code must clearly identify the HTTP-level client-server communication and must explicitly manage Home page, Favourite, History Lists and Tabs.
Optionally, you may add functionality to render a web page, but there must be an option to disable this functionality and to show only the raw HTML that has been retrieved.
Thanks
What have you attempted so far and what problem are you encountering?
Maybe read this first :)
Currently it sounds like you have been given an interview or homework task that you dont know how to solve. If so, then you should have some idea on where to start or you are in the wrong course or job interview. If you want help, then try to solve the question yourself and ask for help when you are stuck. Tell us what you have tried, show the code you currently have and let us know where you are stuck or what doesnt work as expected.
Where are you stuck? Fetching the webpage? Building the user interface?

Why is Google AppMaker is not allowing me to add database connections?

If I attempt to add a new SQL data model, a popup shows up explaining that the feature is locked and I must contact my administrator (myself). However, there is no further explanation found in the documentation on how to unlock this feature.
This is how AppMaker used to look back when it allowed me to add database connections:
This is how AppMaker looks now when starting a new app:
The App Maker engineers are doing crazy changes now and then. I believe their point of view is to make the platform better but this kind of things really annoys me and makes life harder, honestly.
I ran across this problem and find out that they are forcing admins to set up a default instance in the G Suite Admin console. You can read more about that here. You haven't completed that step and that is why you see what you are seeing. Although, it's crazy! What if I don't wanna do that?! But they are the product owners and they establish the rules so we have to suck it up and do what they want! Unless a bunch of people complain about it, they are not changing the behavior.
Fortunately, I was able to find a work around. So what we (you and me) are trying to do, is set up a custom sql database. Right now, that will only be available if you've already done what I described above. So the work around is to import an app that already has a custom sql database set up and then modify the Google Cloud SQL address. Look at the example below:
Here is the demo workaround app that I use. Download it to your machine, then import it as in the image above. I hope this helps!

SignalR (.Net) Database to Grid (Knockout)

I am relatively new to SignalR and every tutorial seems to be for a chat application or some variant. This is good to get to grips, but I am looking to have a grid that updates automatically on a database change. I have even gone through Pluralsights tutorial which shows this as a sample but then all it's practicals are for a chat application.
I do understand that this is what a search engine is for, but I have exhausted this channel, as above I found plenty of tutorials but all seem to be for a chat application.
Has anyone else noticed this, and if so has anyone found any good resources for tutorials that deal with real-time grids. Any help would be greatly appreciated.
You can use SqlDependency but it tend to be heavily dependent to SQL (Thus the name). I think its bad practice to have a solution dependent to the database, sooner or later you also want updates from the Domain only etc.
I have made a EventAggregator proxy for signalR that can pick up events decoupled from domain and database. Check it out here
https://github.com/AndersMalmgren/SignalR.EventAggregatorProxy/wiki
Install with nuget
Install-Package SignalR.EventAggregatorProxy
It has both a .NET and javascript client, check the wiki for how to set it up, and here is a demo
https://github.com/AndersMalmgren/SignalR.EventAggregatorProxy/tree/master/SignalR.EventAggregatorProxy.Demo.MVC4
It's true that most of the tutorials demonstrate a chat application, since that's the easiest way to show off the technology. Once you start demonstrating a more complex sample, there are design patterns that don't really have to do with the technology.
Here's a tutorial that demonstrates how to update the client based on changes from a server:
http://www.asp.net/signalr/overview/signalr-20/getting-started-with-signalr-20/tutorial-server-broadcast-with-signalr-20
Here's a demo that uses SqlDependency to update the client:
http://techbrij.com/database-change-notifications-asp-net-signalr-sqldependency
(The above is SignalR 1.0, so see the Updating document for info on how to change it to 2.0):
http://www.asp.net/signalr/overview/signalr-20/getting-started-with-signalr-20/upgrading-signalr-1x-projects-to-20

Resources