should I choose WatchKit companion app or Standalone watch app - core-data

I have an iPhone app that is published to the App Store and I'm now looking to add a watch extension
My question is, do I choose companion app or a standalone watch app?
the watch app will work independently of the iOS app, but will also rely on the iOS app to send data across to it
To give you a brief summary of the functionality I'm looking for,
The IOS app is a workout app, and has a number of user created workouts on it.
I would like the user to be able to send one or more of these workouts to their watch, so they can leave their phone at home and workout solely from the watch app
obviously the watch app will need it's own independent CoreData model, which leads me to think I would create a standalone watch app, so I have access to
the WKExtensionDelegate and WKHostingController, to initialise my core data
is this the right approach, will the watch app and iOS app communicate with each other if they are both standalone, or would I need to create it as a companion app?
I've searched the internet for hours, but can't find a definitive answer
thank you in advance

Related

share camerax preview with another app through internet

Currently I have android app that preform some object detection task on the live camerax preview I want to share that preview with another app in another device through internt so that the other side person can see the live object detection process
I am new to android app development so can you give rough idea how to accomplish that
I have not try anything yet

Set up Google Analytics to track a command line Node app

I'd like to use Google Analytics to track usage of a command line Node app. Tracking will be strictly opt-in. I'd like to track basic usage, plus which operating system and version of Node was used.
I've found the Measurement Protocol, but I'm wondering whats the best way to set up Google Analytics.
You can choose from Web or App - App seems the best fit, but then I'm sent to Firebase to set up an iOS, Android or Web app. None of these are correct. So is 'Web' the best way to track my app usage? Or is Google Analytics not the right approach?
Seems like the best approach is Google Measurement Protocol. There's a Node library for it.
Really Google Analytics is completely designed around web apps and more recently mobile apps, it has concepts like "page views" which don't make sense for CLIs, and Firebase Analytics is only for Android and iOS.
You might be able to shoehorn he CLI use case for some purposes. Alternatively, you could consider using a cloud database like Firebase real-time DB to capture your own events.
Google analytics really isnt designed for something like this. You have only two options web app where everything is page based. http://example.com/hello.php vs using a mobile app where everything is screen based. Home, about, help.
I have done this before with several console applications, a custom SSIS task (dll) and an arduino project. I chose mobile application mainly because i thought it was closer. I know of someone who did the same with an actions on google project.
In the end what you use will be up to you. Just consider what it is you want to track exactly and lay it out before you start.
If you choose mobile make sure you send Screen views and not page views. The Google analytics website is split you cant mix and match the hit type.
Workaround for createing moble account without firebase.
create a new web property on Google analytics type Web
create a new view under that web property type mobile.
We made Console Cat for this exact purpose! It's built from the ground up to track telemetry / analytics for CLIs including things like flags, command duration, version, etc.

Which will be the best way to adapt an web app running in Express to mobile?

I have make a simple web application in express (Node.js) with ejs as a template/view system.
Very simple. For some reasons I need to make that app working on mobile devices just to have some push notifications: chrome notifications works great but some devices (android) have this feature blocked by default also IOS blocks chrome notifications
So the only way is by converting this simple web app into some kind of mobile app. Ionic look's great but you need to adapt your view tags and code..also I don't know if you can combine it with express.
Which will be the best way to adapt an web app running in express to mobile?
I was currently solving the same problem for my new problem you can Convert your Web App to a Mobile App with Apache Cordova , specifically using the Ionic framework, you won't change much on Server side(node.js), however few change as to be made on angular js and very little on view to adapt on ionic design view which very similar to bootstrap tags

Simple app admin UI in Heroku or Firebase?

I would appreciate if someone could point me to the more simple direction between Firebase and Heroku.
I'm planning a simple React Native photo app for scientific purposes (take image, save phone geolocation, send both details to database, that's it!).
I need to create a really simple admin UI for the submitted photos+geolocations: view, delete, tag photo (correct/incorrect), download geolocations. Just one user is OK.
Would it be easier me to create the admin UI on Firebase or Heroku? Or if there are already ready-made admin UI's available?
The stack is: React Native, Node.js (+ Express?), MongoDB
And, I'm not creating the app myself, but hiring a freelancer. Maybe they have their own preferences, but I was just interested to know of there's a big difference accessing the data in Firebase or Heroku.
Both the app and the admin UI shoudl be really simple, just bare-bones. I expect the app + admin ui to be created within 100 hrs.
The core capability of Firebase is real time sync of data pushed to multiple clients. It doesn't sound like you need that in your app. You could still use Firebase for what you need, but frankly it sounds to me like overkill.
I think that for your simple requirements you might find Heroku easier and faster.

API to provide Apple App Store ratings from within an iPhone application

I have created an application for the iPhone with many features and would like to add a 'rating feature' to it. The user can then, from within my application, provide an Apple App Store rating -- so that my application can be shown at the top.
Does anyone know how to add this feature to an iPhone app?
I don't think it's possible to have the user rate your application in the App Store from within your application. Instead you can link to your application in the App Store (create an NSURL and use openURL to open it) so that users can provide a rating there. To get the correct link to your app, find it in the App Store and select Copy Link from the menu directly under your application's icon.
you can use an API such as iRate https://github.com/nicklockwood/iRate
It redirects the user to the appropriate place in the App store and provides some logic for prompting her to rate the app based on usage time and frequency.

Resources