dynamic google form inside flutter - dart

can I redirect the user to a google form, that has values from database?
let's say I'm presenting hours from 1-5
and I want each user to has his own hour.
so, if user x submit hour 1
then I'll prevent user y from choosing the same value he will be able to choose from 2-5 only

Related

iOS InApp rating exceed limit

Hello Thanks in Advance,
Am currently working on App Store InApp rating. I knew about the policy that apple allows only 3 rating once in 365 days.
So I would like to know that what happens if I request for rating more than 3 times in 365 days. Does it still show the rating popup and refuse to submit or it works something like in the developer environment(Rating and submitting but do not reflect in the app store).
No matter how many times you request the review prompt, the system will show the prompt a maximum of three times in a 365-day period.
Development: Shown every time the you request the prompt.

How to create multiple IAP's in the same app?

I have an application which contains multiple users in different groups (kinda like life 360). In order to access the full functionality of the app, the user has to pay $5.99 per group per month
I was wondering how can I create multiple auto-renewable subscriptions for the same app? Whenever I try StoreKit and create a dummy purchase, it succeeds but the second time it just restores it.
I have 2 subscriptions in a group right now (monthly and Yearly), I need to be able to purchase the same subscription in every group in my app.
For example, a user opens up group 1 and see a button saying "Buy premium", they purchase the premium for group 1 for $5.99 for 1 month, and switch over to group 2 where they again see the same button saying "Buy premium", and as soon as the user clicks that button, the user should be able to buy the same auto renewable subscription for $5.99 for 1 month, this time, for group 2
How can I achieve this?
Example
In this image, I purchased Life360 Premium in 2 different circles ( Free trial 1 week )

Track attrition of an iOS app on firebase

We are using firebase analytics in our iOS app.
I would like to find out number of new active users in a month and the attrition of our app monthly i.e., the number of
users leaving the app every month.
Attrition for a month(suppose January) can be calculated as
attrition = (monthly active users of January) - (monthly active users of January and February)
where (monthly active users of January and February) is the no of users that are active in January and also active in February.
Example: There are 100 monthly active users in January and 120 in February. The difference 20 can be interpreted either as 20 new users or as 40 new users and 20 left the app.
In the latter case the attrition can be calculated as
active users of January and February = 80 (20 left the app in January and rest of the users are
still active in February)
attrition = monthly active users of January - active users of January and February
= 100 - 80 = 20(the number of users who left the app)
The firebase console shows the number of monthly, weekly and daily active users. But it doesn't
let us filter users who are active in 2 different months.
So how to find the attrition and new active user count of our iOS app using firebase?
Two options here:
Either set a User Property as a month for which you want to refine the data for active users.
This option is not that great since Firebase restricts creation of 25 user properties and don't let delete them.
Export Firebase data to Big Query and run query to get the users (by setting a userID) for a month, typically done via DATE RANGE function.
Hope this helps!

When I use requestReview function of StoreKit, is there any way to know if the user has clicked on Submit or Not Now or Cancel button?

I am using the SKStoreKitReviewController in 10.3 and above to request a rating of the app. The alert is displayed. However, I need to implement a logic, wherein, if the user has already rated the app for one major release then I should not ask the user again for rating. Hence, is there a way to know that the user has successfully submitted the rating? Also, I would want to know if the user clicked on "Not now", so that I can prompt them again for rating after a few days. Is there a way to know this?
According to this Apple Developer page, you cannot prompt a user more than three times in a year.
Give users an easy way to provide feedback on the App Store without leaving your app using the SKStoreReviewController API. You can prompt for ratings up to three times in a 365-day period.

iOS In App Purchase Model

I am having a problem trying to get the business model of my client to work with iOS in app purchases. We are using Parse.com as a backend for this app.
There are two type of users for this application consumers and posters. Posters are able to post an add for a business and the consumers are able to view those ads. The information for the ads are being stored in the Parse backend.
The problem that I am having is this.
The client wants to have 4 different durations for each ad 1 month 3 month 6 month and 1 year. I have set these up on the iTunes connect account as consumables because the duration it stored in Parse.
I can make the purchase the product just fine but the problem is that I have no way of tying a transaction to a specific add I can only determine which of the products (1 month, 3 month, etc that they bought) and the user can have multiple ads.
I also have the problem of since the ad information is stored on Parse I cannot invalidate it unless the user opens their device.
One way to solve this by making your in-app purchase an intermediate "currency" such as "credits" - The user then purchases a number of credits and when they post an ad it consumes the appropriate number of credits from their balance.
This way you do not need to associate a particular ad with a particular purchase - you simply verify the balance is sufficient for, say, a 3 month posting, deduct the credits from the balance and put the ad in the database with the appropriate duration field.

Resources