Update Facebook SDK issue - swift

I use Facebook SDK login feature. In console written
Your Facebook SDK is out of date. We recommend upgrading to the latest Version 4.37.0, to ensure your app's performance is not affected and to take advantage of our newest features!
I updated SDK pods to 4.44.1, but this warning still there. Anybody can help me, what's wrong?
P.S. I've tried to delete pods and manually installed SDK from Facebook developer site, but it did not help

I could reproduce the same issue on FBSDKLoginKit versions 4.38.0 to 4.44.1.
It does not affect the behavior of the SDK, you can safely ignore this log.
As discussed on Github :
Facebook SDK for iOS started to send an improper User-Agent header
using a wrong format FBiOSSDK.5.x.x instead of a traditional one
FBiOSSDK/5.x.x with a slash; I've discovered this by capturing the log
message and following the stack trace up to the request data.
This needs to be fixed by the Facebook iOS SDK team.
Edit: as the User-agent composing point in the SDK looks untouched for
the last 4 years, I suspect it's some kind of API change which broke
support for the non-standard User agent format SDK uses an only
accepts User-agents with a / slash. Thus an API error. Reported and
waiting for further steps from FB devs.
Edit 2: submitted for fixing; should flawlessly resolve this issue
with some future Facebook API fix.

re "Your Facebook SDK is out of date. We recommend upgrading to the latest Version 4.37.0, to ensure your app's performance is not affected and to take advantage of our newest features!"
Well I get the same log in my swift app after updating Facebook SDK via pods
April 13, 2019.
I recommend you add the two lines of swift code in viewDidLoad to see what version you have.
let fbSDKVersion = FBSDKSettings.sdkVersion()
print ("viewDidLoad- FBSDKVersion: \(fbSDKVersion ?? "0.0")")
My console log shows FBSDKVersion: 4.44.1.
which makes the Version 4.37.0 message suspicious.

Related

Game rejected by Google due to Singular SDK

I just send a new version of my game but this message from Google
Your app is using the Singular SDK which collects but may not be limited to Android ID and Advertising ID identifiers. Persistent device identifiers may not be linked to other personal and sensitive user data or resettable device identifiers.
You may consider moving to another SDK; removing this SDK; or if available from your SDK provider, upgrading to a policy-compliant version of this SDK that does not include the violating code.
According to the information provided by your SDK provider, you may consider upgrading to 12.0.5. Please consult the SDK provider for further information.
Affected Version(s):
App Bundle:37, App Bundle:37
We use unity ads, we have the latest version of unity ads 4.3.0 but we don't know where we can find this Singular SDK to update it.
No trace of it in our game, never used, and never heard about it.
Please how could we correct it ?
There is something called Mediation Ads, installed automatically. From the package Manager, remove this package and delete the MediationDependecies.xml file. You will get rid of duplications errors. Search in the folder Singular SDK, delete them all, build and re upload your apk.
Mediation deletetion remove errors or duplicate class com.unity3d.ads.buildconfig found in modules classes.jar...

Facebook iOS SDK 3.5 login issue

I've already integrated facebook login in an app with the previous sdk version. After upgrading to version 3.5, it isn't working. When I want to login, the app crashes, with several [FBSession authorizeWithPermissions:defaultAudience....] callings in the thread.
I've already done all the steps described in Upgrading documentation. Somebody with the same problem?
Thanks in advance.
The app is for iOS.
Set Sandbox Mode to disabled. This will fix this problem for now.
Facebook has fixed part of the problem on the server side. Try it again and it will probably work for you.
https://developers.facebook.com/bugs/188127071335876?browse=search_51770009e1ec62f68874486
This was a server error that was causing this for a lot of developers. However, the server fix only makes the infinite loop problem less likely to happen. It is still there. I created a new bug to track the infinite loop problem.
https://developers.facebook.com/bugs/446010282155033

Checking for newer versions

I've seen in the past applications that popup a warning when they come out with an update.
Obviously I can put something on my server with the latest app version number but that would require me to remember to change that file. Does apple have some kind of json feed or something where I can pull down my latest app version?
It would also be great if I could get the latest ios version too.
Apple doesn't provide this, unfortunately. As you said, you have to put something on your server for your app to poll or deliver a push notification to the user when a new release comes out.

Code with Three 20 latest version facebook-three20-726841e rejected by Apple

I got this response from Apple when i submitted my App with Three 20.I did my project in Xcode 4 and used the latest version of Three 20 i.e. facebook-three20-726841e.
I already did the changes in other posts.
It got rejected again.
Our system has determined your app is using private or undocumented APIs:
The app references private or undocumented symbols
OBJC_IVAR_$_UITouch._locationInWindow
OBJC_IVAR_$_UITouch._phase
OBJC_IVAR_$_UITouch._previousLocationInWindow
OBJC_IVAR_$_UITouch._tapCount
OBJC_IVAR_$_UITouch._timestamp
OBJC_IVAR_$_UITouch._touchFlags
OBJC_IVAR_$_UITouch._view
OBJC_IVAR_$_UITouch._window
Please help me with this.
Thanks.
The non-public API that is included in your application is UITouch._touchFlags.
See if this helps http://cocoatouchdown.blogspot.com/2009/12/uitouchtouchflags-are-private.html
Also something useful about this http://groups.google.com/group/three20/browse_thread/thread/c442af6e39a918b0?fwc=1

iTunes Connect Promo Codes & App Updates

We have recently released version 1.0.0 of our application and have sent out numerous promo codes in the past couple of days. I was just wondering whether they will still be valid for the 1.0.1 update which we have just submitted?
Yes.
Promo codes apply to your app no matter the version (only the version currently available on the store), and no matter the price (even if it's free a code should work.)
Here is the text from the apple promotional website:
Select an application and enter the number of codes you are requesting. You are given 50 codes for each version of an application. They are for non-commercial use and will expire four weeks after they are requested. These codes can only be used in the U.S. iTunes Store.
From this text, it is clear that you can issue brand new codes for new versions of your app. It is not clear whether your codes from 1.0.0 will still be valid for the 1.0.1 version of your app. I would think that they would still be valid, but that's just a guess.