ZendeskSDKMessaging iOS integration problem - ios

I'm trying to integrate Zendesk messaging in my iOS app with this doc
and I can't init Zendesk properly.
If I add only ZendeskSDKMesaging framework as it written in the documentation, I receive the error "Cannot find 'Zendesk' in scope". So I'm adding ZendeskCoreSDK but now it has no initialisation method as in the instruction Zendesk.initialize(withChannelKey..., it only shows the one for SupportSDK with appID and clientID, not with channel key. Did anyone faces with the same problem?

Related

Xamarin forms how to log in with Apple account

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/

Google Tag Manager for iOS AdWords Conversion Tracking Error

GTM SDK Version: 3.09
Platform: iOS
Tag: AdWords Conversion tracking
When trying to fire an AdWords conversion tracking tag via Google Tag Manager for apps, I'm seeing the following messages (only relevant messages shown):
_aid has no backing implementation.
Dispatch url: http://www.googleadservices.com/pagead/conversion/1234567/?gclid=&appversion=3.1.a&conv=1234567&label=abc&ai=&timestamp=1413203719&osversion=8.0.2&bundleid=com.example&lat=0&idtype=idfa&sdkversion=gtm-i-v3.0&rdid=1234&remarketing_only=0
Successfully sent hit: http://www.googleadservices.com/pagead/conversion/1234567/?gclid=&appversion=3.1.a&conv=1234567&label=abc&ai=&timestamp=1413203719&osversion=8.0.2&bundleid=com.example&lat=0&idtype=idfa&sdkversion=gtm-i-v3.0&rdid=1234&remarketing_only=0
I suspect the _aid error is related to the inability to access the IDFA. I have included all the libraries and frameworks stated here (https://developers.google.com/tag-manager/ios/v3/#add-sdk) and I have used the force_load flag as well, but I'm still getting this error message.
As for the dispatch URL, we can again see that the ai query parameter (which I assume should equal the IDFA), is left blank. I'm not sure how the hit is able to be "sucessfully sent" despite the ai parameter missing. The status of the conversion in the AdWords interface remains as "unverified".
Any idea how I can get rid of the _aid has no backing implementation error message and properly get the ai parameter to populate?

Microsoft Live SDK OneDrive ios multiaccounting

If you have experience working with Microsoft OneDrive (ex SkyDrive) using their official live-sdk - have you faced a problem of multi-accounting?
Just on MS forum I found this post (And so I do want to make the same task):
"I'm working on an IOS app using one drive sdk and i need to do a multi connection so user can add more than one account , and then when he click on the account icon i account will be opened , so my idea to do this was to save the accessToken ,authenticationToken,refreshToken,scopes,expires of each account then i will create the LiveConnectSession object using the method :
initWithAccessToken:(NSString *)accessToken
authenticationToken:(NSString *)authenticationToken
refreshToken:(NSString *)refreshToken
scopes:(NSArray *)scopes
expires:(NSDate *)expires;
then i will set it to the LiveConnectClient , but the broblem is that the session proprety of LiveConnectClient is read only so i cant change it "
So the MS support tells, that right now it is impossible, but still there are apps, that provide multiaccounting
So now I'm confused.
I will be happy to hear any response.

redirect_uri_mismatch Unity Google API on iOS

I created an app in Unity with Google Play Leaderboard support. I could easily make it work on Android, then I moved to OSX to build it for iPhone too.
First I got a problem, that Apple won't accept any bundle identifier with the '_' character in it, but my Android app bundle identifier had 2 of them...
However I found out, that in the Google Developer Console I can link another app to my app (to use the same Leaderboard) for iOS too, so I was quite happy. Unfortunately this doesn't seem to work. I get the *redirect_uri_mismatch* error message every time I try to log in.
On Android I used the UnityGPGPlugin but as it didn't work for me on iOS, I tried the PlayGameServices too. In UnityGPGPlugin I could set only the Application ID, so I thought that's why it is not working. In the PlayGameServices plugin there are two fields, one for the Application ID and one for the Client ID that made it look like that's really what I need. Unfortunately the error is still present and I really don't know what I could do with it. Here is the well known message:
Error: redirect_uri_mismatch
Request Details
cookie_policy_enforce=false
scope=https://www.googleapis.com/auth/appstate
https://www.googleapis.com/auth/games
https://www.googleapis.com/auth/plus.login
https://www.googleapis.com/auth/plus.moments.write
https://www.googleapis.com/auth/plus.me
https://www.googleapis.com/auth/plus.profile.agerange.read
https://www.googleapis.com/auth/plus.profile.language.read
https://www.googleapis.com/auth/plus.circles.members.read
response_type=code
access_type=offline
redirect_uri= < my bundle identifier without '_' characters >:/oauth2callback
state=16885367
gpsdk=1.5.0
verifier=12647966
display=page
client_id=123456789123-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx.apps.googleusercontent.com
hl=en
The debug log contains only this:
2014-03-16 14:21:19.507 <my app>[1699:60b] GPGSAuthenticateWithCallback.
2014-03-16 14:21:19.509 <my app>[1699:60b] GPGSManager initializing and authenticating.
2014-03-16 14:21:19.512 <my app>[1699:60b] GPPSignIn initialized.
2014-03-16 14:21:19.514 <my app>[1699:60b] GPPSignIn attempting sign in now.
-> applicationWillResignActive()
-> applicationDidEnterBackground()
Does anyone know how could I solve this problem?
Thanks in advance!
Edit:
Maybe it wasn't obvious, but I have 2 bundle identifiers, both of them are linked to the same game service in Google Play Developer Console. The com.x.a_b_c belongs to the Android app, the com.x.abc belongs to the iOS app.
I was having redirect_uri_mismatch error while using UnityGPGPlugin. I was using "123456789123" as my Application ID instead of "123456789123-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx".
However, I manage to get through the Google Sign In page after changing all my setup to "123456789123-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" as my Application ID. Including the GPGApplicationID in Info.plist.
Sad to say that I am having another problem now, but at least that's how I manage to get through that error. :)

Google Maps iOS API key not working

I have a simple iOS app into which I am integrating Google Maps. However, the API key I've provided results in several of these error messages when my map view is displayed:
ClientParametersRequest failed, 3 attempts remaining (0 vs 5). Error Domain=com.google.HTTPStatus Code=400 "The operation couldn’t be completed. (com.google.HTTPStatus error 400.)" UserInfo=0x1818bf40 {data=<CFData 0x18137410 [0x302aec8]>{length = 145, capacity = 256, bytes = ...}}
Here is what I have already tried to no avail:
Calling [GMSServices provideAPIKey:] as the first line of code within didFinishLaunchingWithOptions
Double-checking that my API key is correct and is an iOS API key (I copy/pasted it directly from the Google Cloud Console into my app)
Providing the API key both with {} and without
Confirming my bundle name by outputting it with [[Bundle mainBundle] bundleIdentifier]
Omitting bundle identifier restrictions altogether
Regenerating the API key
I am not sure what else to try. My bundle name is in this format: net.company.MyApp and I have entered it exactly that way into the Google Cloud Console (I know bundle IDs are case-sensitive).
Could it be that Google doesn't support bundle identifiers of a certain type (e.g., with upper-case letters or beginning with net.)?
You need to enable maps service in Google developer Console. In new layout, choose APIs & auth section and APIs subitem in the left column. Next, in the right one enable Maps SDK for iOS by clicking on the Off button.
I found the issue. Google Maps SDK for iOS must be enabled for keys to work. I already had Google Maps API v3 enabled and I thought that was enough, but it wasn't.
if you are doing a manual integration of SDK, it is no longer supported in latest version. Also GoogleMapsM4B version needs to be deleted and only keep GoogleMaps SDK in your project. This worked for me.

Resources