Posts tagged with swift

In my iOS swift application I have implemented a Facebook Sign-in. It worked perfectly. But recently when user try to login it is not redirecting to app after user successfully login. Its stuck in the below view. After click cancel it will call to Login method with fbloginresult.isCancelled. I have updated the SDK also but nothing has changed. Any help is appreciated.

I'm trying to get some facebook user's permissions but not all of them are listed to the user to grant/decline.

Using the FBLoginButton and setting the permissions to:

- email - pages_show_list - instagram_basic - pages_read_engagement - business_management - instagram_manage_insights 

The user is presented only with public_profile (mandatory) and email, the rest are not shown to be granted/declined.

Any subsequent request doesn't show them either.

I also set button.authType = .rerequest

To note that when I created a new facebook account for testing and this worked just fine. Could it be a particular setting on some accounts to not ask these permissions. The account(s) with issues are personal accounts (mine / colleagues)

What am I missing here?

There is no API reference for swift in Supabase for sign in a user through facebook. is there any other method for swift which i can use for facebook auth?

I have used this snippet to use google provider to authorize user in supabase...

client.auth.signInWithIdToken(credentials: OpenIDConnectCredentials(                     provider: provider,                     idToken: idToken,                     accessToken: accessToken                 )) 

I'm trying to set up conversion tracking with Firebase. I followed Google's instructions but no conversions are showing.

Google's Post

Here is what I've tried so far:

Code Implementation

  1. Set up Firebase Analytics.
  2. Logged event after In-App Purchase. .logEvent()
  3. Showed ATT prompt after a successful purchase. ATTrackingManager.requestTrackingAuthorization

Firestore Console

  1. Entered App Store ID in profile.
  2. Integrated Google Ads.

Google Ads

  1. Created a conversion action.

Now, I know some people allowed tracking because I log their input.

Am I Missing something? Any help would be appreciated!

Thanks.

I need some help.

As described in the Title, the Google AdsMob does not work properly.

I built the app according to the tutorial, however i receive the above mentioned error plist:

<key>GADApplicationIdentifier</key> <string>app id from google</string> 

Viewcontroller:

private let banner: GADBannerView = {     let banner = GADBannerView()     banner.adUnitID = Banner ID     banner.load(GADRequest())     banner.backgroundColor = .secondarySystemBackground     return banner }() viewDidLoad(){ banner.rootViewController = self         view.addSubview(banner) } 

It seems that it doesn't matter wether the banner.view is created or not. The app shows a black screen an error message is:

[I-ACS025031] AdMob App ID changed. Original, new: (nil),

I am working with a Macbook Air M1