Getting test valentin screen on app launch - ios

I am getting a black test valentine screen on app launch.
I am using following libraries:
Google/SignIn
FBSDKLoginKit
FBSDKCoreKit
FBSDKShareKit
FBSDKMessengerShareKit
iOS-WebP
FLAnimatedImage
NMRangeSlider
LumberjackLauncher
GoogleAppIndexing
CSStickyHeaderFlowLayout
Fabric
Crashlytics
Google/Analytics
AdobeMobileSDK
MPCoachMarks
iCarousel
You Tube
Please tell me due to which library I am getting this issue

This screen is appear due to analytic SDK adobe omniture library.
In JSon configuration file, following JSon urls are written:
"remotes": {
"analytics.poi": "https://assets.adobedtm.com/b213090c5204bf94318f4ef0539a38b487d10368/scripts/satellite-568f7b6764746d25a900cb96.json",
"messages": "https://assets.adobedtm.com/b213090c5204bf94318f4ef0539a38b487d10368/scripts/satellite-568f7b6564746d5bd3006fc0.json"
}
In response of message url we are getting HTML text in payload module.
Just remove these URLs.

Related

Implementing Firebase Analytics in a swift framework

i'm trying to configure Firebase Analytics with cocoapods in our app.
The app has an architecture like this:
App <- App-Framework
The app is basically just the AppDelegate importing App-Framework - which is the whole app.
Then to the problem, i'm doing this in AppDelegate:
FirebaseApp.configure()
After this i try to log an event to Analytics in the App-Framework with:
Analytics.logEvent("testEvent", parameters: [
"name": "Krister" as NSObject,
"full_text": "Krister tester" as NSObject
])
And the debugger then says:
Event not logged. Call +[FIRApp configure]: share_image
The framework and the app imports Firebase trough cocoapods and the general Firebase Analytics setup is not missing anything, like the GoogleServices.plist and imports.
I tried to implement this in an app with no framework and the events get logged to the Firebase Console and DebugView.
The weirdest thing is that the default screen tracking is getting
logged, but none of the logEvents().
What to do next?
Solution 1:
I ran the FirebaseApp.configure() inside App-Framework,
trough a method inside of AppDelegate.

Failed importing Facebook SDK in Swift 4.x

I've tried to import Facebook SDK for App Events and tracking of App Installs through Facebook ADS and it's being impossible to do it.
I've done it with CocoaPods using:
pod 'FacebookCore'
as the Facebook official tutorial says.
After that, Facebook Analytics has detected me as a New unique user, so that is great 👍.
The problem is when I try to add an APP Event like so:
AppEventsLogger.log("Opened App Main VC");
And then this ERROR 🔴 appears:
Use of unresolved identifier 'AppEventsLogger'
Apart from this, also it's not detecting AppEventsLogger in the AppDelegate with the same error:
AppEventsLogger.activate(application)
I've imported in the VC and in the AppDelegate this modules/libraries:
import FacebookCore //in theory is just this one
import FBSDKCoreKit
So any tip or help is very welcomed! 😊
Two Imports
import FacebookCore
import FBSDKCoreKit
In AppDelegate
func applicationDidBecomeActive(_ application: UIApplication) {
AppEvents.activateApp()
}
When you want to log an event:
AppEvents.logEvent(AppEvents.Name.init(rawValue: "Opened App Main VC"))
For another type of AppEvents, you can refer to this
The problem is AppEventsLogger is changed to AppEvents. So change the name of AppEventsLogger and it will work fine. This is a new update in Facebook sdk.

Missing data in Fabric for IOS "Crashed: com.apple.root.default-qos"

I'm using Fabric.io to monitor and collect crash data for a IOS app.
I'm receiving now a lot of crash reports for this error "Crashed: com.apple.root.default-qos" but when I check Fabric to analyze it I got the following report:
where the stack-trace of the crash is missing.
What should I do to receive the complete stack-trace?
App uses some libraries imported using CocoaPods.
I'm attaching here also a screenshot with linked libraries:
I have discovered that this report was sent because of missing "Privacy - Face ID Usage Description" (NSFaceIDUsageDescription) in Info.plist.
I have no idea why the report was not complete, but after adding this key my app has stopped crashing.

iOS Firebase: Error Unable to generate keypair

In our ios Swift app we use Firebase Analytics. (Firebase 3.16.0, Firebase Analytics 3.8.0, Firebase Core 3.6.0, FirebaseInstanceID 1.0.10)
Our app gets background launched from significant location changes but can be launched and used normally in the foreground. Sometimes we see the following error and warning pop up multiple (a lot of) times in our log.
<Error> [Firebase/Messaging][I-IID010003] Unable to generate keypair.
<Warning> [Firebase/Analytics][I-ACS020001] Failed to get InstanceID: Error Domain=com.firebase.iid Code=-25308 "(null)"
It looks like those errors and warnings only pop up if the app was actually background launched by the SLC. Where do these errors come from?
Note: Keychain Sharing is setup correctly
thank you.

ShareKit plugin not working - Cordova 1.9 & ShareKit 2.0 & ShareKit js plugin & Xcode 4.4

I have upgraded my Xcode 4.4, Phonegap to Cordova 1.9 and installed the Sharekit 2.0 and I cannot get ShareKit to work. Prior to upgrading, ShareKit v.021 worked properly -except the known issues with that old version
I installed ShareKit 2.0 as per the WIKI. I then updated the ShareKit plugin as per these directions
My ios app is completely html, css, and js. I call ShareKit via javascript with the following commands:
shareToFacebook(msg, url) and shareToTwitter(msg, url)
In the simulator, I get the following error and I have no idea how to fix it. I inherited this project and I am a newbie, so I am flying a little blind.
2012-09-21 16:38:29.744 mcs[3976:17603] Assertion failure in +[SHK sharersDictionary], /Users/Main/Documents/ShareKit/ShareKit/Classes/ShareKit/Core/SHK.m:528*
**2012-09-21 16:38:29.745 mcs[3976:17603] WebKit discarded an uncaught exception in the webView:decidePolicyForNavigationAction:request:frame:decisionListener: delegate: ShareKit: You do not have properly set sharersPlistName***
I have the defaul SHKSharers.plist in my project with the 9 services still enabled though. I had only twitter and facebook and I got the same errors.
Any help would be greatly appreciated.
In your custom SHKConfigurator file add this:
- (NSString*)sharersPlistName {
return #"SHKSharers.plist";
}
SHKSharers.plist is default one comes with ShareKit. You can have one of your own. But make sure you return your plist name in sharersPlistName function.

Resources