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

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.

Related

should I choose WatchKit companion app or Standalone watch app

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

How to extract out several projects into one project using iframes

In my company there are 3 independent projects written in angular. The customer has asked the company for the following:
create a project which will enable the user to connect to each one of the independent projects.My question is a general question - is iframe the correct technology for this usecase - and what do I need to know when I use iframes for that use case.
This is what we do, the iframe communicates with the apps and gives the token (it is called on init of each app) then you can provide some type of menu (or app picker) inside the header component where the use can choose any app. Keep in mind that the cookies/ls are saved on browser so presumably if the user hasnt logged out and your authentication is setup correctly they should be able to switch between apps just by switching URL's

Is sharing Google Analytics tracking id safe?

I currently creating a cross platform desktop application using Electron. I wish to add analytics to view user metrics. When I try to find for existing packages that provides metrics info, I found electron-ga.
The package uses GA to track user metrics and to set it up I need to include GA tracking id in my app. My question is, if I include the tracking id in an electron app and distribute my app, everyone can look at the tracking id and steal it right?
I would like to know if using this method is right?
Thank you.
It will be anyway publicly available (e.g. you can find the ga ID through the source code of any site that uses Google Analytics).
It can get very bad if someone wants to harm you, as he can just plug your ga ID in any of his sites unless you are prepared and protected.
What you can do to be sure that even if someone has your ga ID, he can't make use of it, is the folowing.
Go to your Google Analytics profile and create a custom filter. Choose "Hostname" for the filter field and fill the filter pattern with your site (e.g. mysite.com). Don't forget to use the "\" before of any ".".
This way, only this specific address will be able to make use of your ga ID.
That is ok. You could see many people push the ga id at website or app.
It is necessary. If you don't add tracking id to ga code. Then you cannot track user.

Problems with the Google Places API AddPlaceRequest - Android Studio

I'm in the process of creating an application on Android Studio which allows a user to select a location on a map and add some details to that location - E.g. Select a football pitch and add some details to it such as 5 a side football match on Sunday at 12 o'clock.
Once these details are saved that location is saved onto the map along with those details.
I've decided to use the Google Places API as it has the AddPlace feature. Instead of adding a business to the map like the API was intended for, I want to tweak it so it can add an event instead.
However, the example found here at:
https://developers.google.com/places/android-api/add-place
Does not work in my application.
Here are the screenshots:
Code Snippet
Any help would be greatly appreciated - Thank you
G
The Add A Place function of the Places API isn't a good fit for what you're trying to do. Add Place is designed to allow users to add places that don't currently exist in Google Maps' database. It sounds like what you want to do is attach some metadata to a place that has meaning only to your app.
So, you'll need some persistent server storage for this metadata. There are lots of ways to do this but you might want to look at Firebase Realtime Database as a solution.
Also, from the screenshot, it looks like your error comes from not having defined mGoogleApiClient in in your app.
When you want to make a connection to one of the Google APIs provided in the Google Play services library (such as Google Sign-In, Games, or Drive), you need to create an instance of GoogleApiClient ("Google API Client"). See here: https://developers.google.com/android/guides/api-client

White-Label a UWP Application

I am about to start development on an UWP Application. One of the last minute requirements was to be able to support white-labeling the application for our partners. Does anyone have any experience doing this using the Universal Windows Platform that would be willing to give me some insight on resources I should be looking at?
Some basic questions I have is:
Is it possible? I read about it being done with iOS and Android.
How do you create the AppPackage for each partner?
Localization differences? Where one localization may refer to it as one product, but another refers to it as the other product.
Or is this something where I would bundle everything up and send it to the partner to create their own upload? If this is the case, is there a how-to on that?
Some of these might be basic questions, but this is the first time I have created a white-label application, so it is all new to me.
Have just replied to another one topic and looks that screenshot is still needed)
When you submit App to store you can find option:
This way you can make your app visible only to your partners. And you can also register as many apps as you like (each one for separate partner)
Or you can distribute your app thrue Windows Store for Business.
Take a look also at this link, it might be helpful for you
Distribute LOB apps to enterprises

Resources