setting user id with Facebook java script SDK - facebook-javascript-sdk

We are having a hybrid android/iOS app.
Majority of our source code is with HTML/JS.
We are using Google analytics already.
For better user demographics , marketing & re-marketing we want to use Facebook analytics for apps.
Identifying users based on our custom user Id is critical to us. It helps us unify the user behaviour on app & html/js.
I can see that with the android & iOS Facebook SDK we can set the user ID.
Does FB javascript SDK provide api to set user ID?

User properties are not yet supported by the JS SDK.

User properties are now supported by the JS SDK. Documentation is here: https://developers.facebook.com/docs/analytics/properties

Related

Firebase Analytics: is it using IDFA on iOS?

Given the upcoming iOS 14 permission prompt for apps that use the IDFA identifier,
I am wondering if Firebase Analytics and Firebase Auth do need to access the IDFA in order to operate.
In such case, are we then required to state that the app is using IDFA when we publish it on the AppStore?
The question have been asked in a git issue on the firebase repo and basically the answer is yes if the AdSupport framework is linked to your app. The conversation is actually very interesting and links to another similar discussion started some years ago.
So at the moment if you use Firebase Analytics and your app links against AdSupport, you should indeed check the "my app uses IDFA" checkbox in the App Store.
By default, no*.
You can choose to use IDFA by calling the ATT (App Tracking Transparency) framework. *If you don't call ATT, the IDFA returned by AdSupport will be 00000000-0000-0000-0000-000000000000.
However, starting in 2021, you can include the AdSupport framework and Analytics won't collect the IDFA unless you present the AppTrackingTransparency dialogue. source
here is the quote from Firebase Documentation about Firebase Analytics and IDFA for iOS 14 or later
Firebase SDKs do not access IDFA, though some have integrations with
Google Analytics that may involve IDFA access.
so by default Firebase Analytics will not require IDFA. IDFA is required if you need to get more accurate data related to ads and marketing (attribution data & conversion tracking) from your linked Google (Firebase) Analytics.
Analytics event logging, event reporting, and conversion measurement
are unaffected, but attribution is impacted if IDFA is not accessible
more documentation you can read related to Appleā€™s iOS 14 policy updates
https://support.google.com/analytics/answer/10285841
https://firebase.google.com/docs/ios/app-store-data-collection

Google Sign-in for Unity without Google+?

I'm developing an application in Unity, primarily focusing on iOS right now.
For the backend, I decided to try out firebase since they have a Unity package and so far its been pretty painless.
Does a Google Signin option exist for Unity that doesnt involve GooglePlayGames (GPG)?
I'm not interested in integrating to that platform at all, Im really just after the Sign in feature so I can grab the user token and authenticate to Firebase.
I currently have GPG and Firebase up and running...and it works great.
My issue is that if a user is not a Google+ member, they cant authenticate since apparently GPG relies heavy on that.
All I'm really after is a solution for vanilla Google Login that would give me an auth token I can use in Firebase...
If you're familiar with Pokemon Go...a very similar login flow.
With that app i was able to use a google account that doesnt have google+ and everything worked fine.
First of all, don't use the Google Play games plugin; it doesn't work for iOS anyways if you don't have an existing Google Play games account via any Android device usage in past. Even for many Android users Play Games apps won't work because it's not packaged with every Android device.
However, I am using this Google Login Unity plugin in iOS & Android which is available in the Asset Store. It works really well.
https://www.assetstore.unity3d.com/en/content/94517

how to get permission from instagram to download media in iOS app

I have seen many apps that is gave option to download media that is from instagram app.
I m creating app with the same functionality (download photo and video) from instagram posts. I have successfully implemented that in my app and i have submitted the app to app store, but apple says
we still found that your app allows users to download media without authorization from the relevant third party sources.
Solution from apple - Please provide documentary evidence of your rights to allow media downloading from third-party sources.
So, my question is that how we can get that permission that allows us to download meadia from instagram.
You can ask for permisstion using their official email, such as:
Dailymotion : notifications#dailymotion.com
Facebook : ip#fb.com
Instagram : ip#instagram.com
Periscope: copyright#periscope.tv
Twitter : copyright#twitter.com
Vimeo : dmca#vimeo.com

User Login to iOS application using Google id

I'm struggling to find any information about logging a user into an iOS application using their google id/password. Can anyone point me towards any documentation or resources?

Integrating Google Checkout in iOS App

Am I correct in assuming using a UIWebView is the only/best way to integrate Google Checkout into an iOS App?
A fully native solution would be the best fit as I only require the user to purchase a limited number of items that will never change.
Does any one know of existing Apps that have successfully integrated Google Checkout?