Is it currently possible to implement Flurry using Swift and log events? I followed this post, but no events are being logged: how to integrate flurry in ios using swift language.
I imported the Flurry SDK 6.0.0, have a bridging header that is working properly, imported the 'Security' and 'SystemConfiguration' frameworks, and am attempting to log events as follows in the 'applicationDidFinishLaunchingWithOptions' function:
Flurry.startSession("KEY HERE") //This part seems to be working since it prints to the console when it logs in
Flurry.setCrashReportingEnabled(true)
Flurry.logEvent("Event Name")
var idDict = NSDictionary(object: "Id here", forKey: "ID")
Flurry.logEvent("Testing Swift", withParameters: idDict)
According to a support rep with Flurry, the real problem with my attempt to log events is that I was attempting to do so in the 'applicationDidFinishLaunchingWithOptions' function. Apparently there is am issue with Flurry SDK 6.0.0 that does not allow events to be logged from inside that function in the AppDelegate. I tried logging an event elsewhere and it worked.
Related
I'm trying to publish my first xamarin forms app on IOS. I barred the issue of login with the Apple account.
I have 4 questions, please.
1- If I implement Sign in with Apple only for IOS 13+ will it be accepted? :(
2- I'm trying to use Xamarin Essentials to log in to IOS 13+ as shown in this article:
Xamarin Essentials
// Use Native Apple Sign In API's
r = await AppleSignInAuthenticator.AuthenticateAsync();
But I only get back the idToken. AccessToken, name and mail return null. Am I missing something?
3 - And finally I tried to use the plugin.firebaseAuth version 4.0.0-pre01:
Link plugin
// For iOS
var credential = CrossFirebaseAuth.Current.OAuthProvider.GetCredential("apple.com", idToken, rawNonce: rawNonce);
var result = await CrossFirebaseAuth.Current.Instance.SignInWithCredentialAsync(credential);
// For Android
var provider = new OAuthProvider("apple.com");
var result = await CrossFirebaseAuth.Current.Instance.SignInWithProviderAsync(provider);
It provides an example using prism to deal with this, but when I install the plugin in this version the application is no more than a splash screen and closes, without showing an error in the output. What am I doing wrong? :(
The first link seems promising for iOS less than 13 and Android using Asp.NET. However in the application I use only the Firebase ClouFirestone and Firebase Hosting for the Administrative Panel. Is it possible for me to sign in Apple without the services of a different backend?
I am very grateful for any light on the path I must follow
1- If I implement Sign in with Apple only for IOS 13+ will it be accepted?
It depends, if they don't find any other issues or violation, it will get accepted.
2- I'm trying to use Xamarin Essentials to log in to IOS 13+ as shown in this article: But I only get back the idToken.
Apple will only provide you the requested details on the first authentication. After that first authentication, you will only get the User Id so be sure to store the details that first time in case you need them.
This feature needs to be tested on a physical device running iOS 13. The simulator is not reliable, it doesn’t always work properly.
Should follow the design guidelines when implementing Apple Sign In. You can find it here: https://developer.apple.com/design/human-interface-guidelines/sign-in-with-apple/overview/
We have been using firebase dynamic link on android for a while.It was working fine in android.
We have decided to build our project on IOS platform also.Now we are facing some problems in dynamic link.
On pressing the link our application does not open.We also following the tutorial to integrate dynamic link on IOS.
1.Added .Plist file.
2.Added associated Domain in capabilities.(applinks:domain-link)
3.Added URL Types in info.
4.Added Team ID.
Seems like we are following the exact steps in the documentation. And yet Dynamic link is not working for us.
Can anyone help us in resolving this issue?
check
Apple Developer enable your Associated Domains from your app Identifiers
check AASA file team id and bundle id from https://{your set domain}.page.link/apple-app-site-association
AASA effective not real time
open your note app input https://xxx.page.link/ooo test (not on browser)
I hope I can help you
You need to update your AppDelegate.m file as well. Follow from steps 4 mentioned in the section Open Dynamic Links in your app here
please cross check associated domains : (it must not contain http or https e.g. applinks:myapp.page.link ) .and Dynamic link is easily work on iOS Simulator , I don't get any issues.
And if you creating dynamic link from firebase ios sdk then below code will be useful
guard let link = URL(string: "Write your link here and parameters") else { return }
let dynamicLinksDomainURIPrefix = "https://racematesios.page.link" //domain-link
let linkBuilder = DynamicLinkComponents(link: link, domainURIPrefix: dynamicLinksDomainURIPrefix )
linkBuilder!.iOSParameters = DynamicLinkIOSParameters(bundleID: "Bundle ID")
linkBuilder!.iOSParameters?.appStoreID = "App store ID"
guard let longDynamicLink = linkBuilder?.url else { return }
print("The long URL is: \(longDynamicLink)")
i'm using a Flutter App and on Android i can read internal link with custom parameter, however, on iOS i can not, the App is opened but onLink.listen is never called. I did all iOS platform configuration posted on documentation.
The link used to open the App looks like (Long Dynamic Link):
https://sample.page.link/?link=https://sample.page.link/test?CUSTOM_PARAM=fooBar&apn=br.com.test&isi=12345&ibi=br.com.test
The idea is to use only one dynamic link and pass dynamic data as custom parameter. Did anyone face that problem?
When I try to integrate WeChat Login in my iOS app using swift language, I am getting an error message on the simulator screen.
I am following integration steps from this link.
I also have a query about the universal link which is needed for register app in AppDelegate like:
WXApi.registerApp("-------I HAVE IT-----", universalLink: "")
what should I pass in universalLink?
https://developers.weixin.qq.com/doc/oplatform/Mobile_App/Access_Guide/iOS.html
You should configure your own universal link to access to your application.
I am currently working on an iOS app using app. I want to add AWS mobile analytics to my app but I've been having a difficult time doing so. I followed AWS get started guide but it doesn't work. I imported AWS using Cocoapods.
In the guide, the code to initialize AWS mobile analytics is here (it is in objective-C) :
AWSMobileAnalytics *analytics = [AWSMobileAnalytics mobileAnalyticsForAppId: #"myAppID"
identityPoolId: #"myIdentityPool iD"];
I don't know much about objective-C, but I translated it to swift like this:
var analytics: AWSMobileAnalytics = AWSMobileAnalytics(mobileAnalyticsForAppI:"myAppID", identityPoolId: "myIdentityPool iD")
When I went back to the aws analytics dashboard, nothing showed up. Am I missing something here?
after working with autocomplete UI Control https://developers.google.com/places/ios-api/ i got error in XCODE console when i am going to search in search bar that Google provide.
I have use Google Maps frameworks with use of pods.
Error :
error : -6
Set accountToAuthorizerBlock to be able to send authorized requests.
I'm an engineer on the Places API for iOS team. This is an internal log message that was printed by mistake. It shouldn't actually affect the functionality of your app and it's fine to ignore it.