Search results for

ASWebAuthenticationSession cookie

1,295 results found

Post

Replies

Boosts

Views

Activity

Is it case that an iOS update could cause cookies to be deleted?
An issue has been confirmed in our application since around April 2023, in which the application's login session is expired. Our application uses cookies to manage login sessions. We haven't changed the implementation of the application itself, and we've seen an increase in reported issues since April 2023, so we suspect that iOS updates may have caused the cookie to be deleted. Is it case that an iOS update could cause cookies to be deleted? Although we do not know if this information is related to the issue, we confirmed the following points. -The iOS version that the affected users have been using since April 2023 is 16.4 or later. -Not all but some of the affected users had enough disk space while updating their iOS versions.
0
0
387
Sep ’23
This doesn't seem like correct behaviour for ASWebAuthenticationSession?
I just wrote code for our app to use ASWebAuthenticationSession for 3rd-party authentication (in particular, YUBIKEYS WOOHOO). Our app registers a URI scheme of x-com-kithrup for launch services events, so I used x-com-kithrup-yubi for ASWebAUthenticationSession. Only, I didn't change the back end, so it still redirects to x-com-kithrup://success on a successful login. And... ASWebAuthenticationSession is still calling the handler when it gets a URL with the x-com-kithrup URI, instead of the x-com-kithrup-yubi URI scheme.
1
0
510
Sep ’23
Xcode 15 beta 8: try await .purchase() consistently throws StoreKitError.Unknown during XCTest on iOS 17 simulator
In my Xcode 15 beta 8 setup, I'm encountering an issue with the iOS 17 simulator where StoreKit.Product.purchase() consistently throws StoreKit Error.Unknown while running XCTest. Inside XCTest, I have declared SKTestSession(configuration: ). I'm using try await StoreKit.Product.purchase(options: []). However, it always throws StoreKit Error.Unknown. There's no such problem with the iOS 16.4 simulator, where I can retrieve the result and handle it appropriately. This issue is only present in the iOS 17 simulator. Is there any necessary workaround or fix for this? I've also included the console log output for your reference: デフォルト 10:06:45.981812+0900 storekitd AMSURLRequest: [597e_SK2] Failed to fetch client ID domains from bag. Defaulting to not including analytics cookies. error = { Error domain=AMSErrorDomain, code=204 | URL = http://localhost:XXXXX/inApps/history?REDACTED
6
0
2.1k
Sep ’23
Reply to NSURLConnection finished with error - code -1100
Ultimately this is something you will need to track down in your 3rd party library but I can at least point you in the right direction based on what I see. It looks like you're using UIWebView and you'll want to move away from that as it is deprecated. Your cookie policy is changing to always accept cookies, which may not be related at all. Finally you are receiving an error -1100 which means your file does not exist on disk, so the index.html is being looked up you'll want to double check that in your app. For any other help I would contact the 3rd party library vendor you are using in your app.
Topic: App & System Services SubTopic: General Tags:
Sep ’23
NSURLConnection finished with error - code -1100
I am running application in XCode 14.3.1 which build using Visual Studio 2017 (Apache Cordova) and getting below error. 2023-09-04 13:38:59.119104+0530 CC Mobile[7551:1246047] ADAL version 2.3.1 2023-09-04 13:38:59.315325+0530 CC Mobile[7551:1246047] DiskCookieStorage changing policy from 2 to 0, cookie file: file:///Users/sankum03/Library/Developer/CoreSimulator/Devices/ECFE254E-3529-4220-AE0D-10C143E96610/data/Containers/Data/Application/D2125721-3B33-442F-994A-B606C5D6B61C/Library/Cookies/com.protiviti.CC.mobile.0001.binarycookies 2023-09-04 13:38:59.364681+0530 CC Mobile[7551:1246047] Apache Cordova native platform version 4.3.0 is starting. 2023-09-04 13:38:59.364914+0530 CC Mobile[7551:1246047] Multi-tasking -> Device: YES, App: YES 2023-09-04 13:38:59.784539+0530 CC Mobile[7551:1246047] Using UIWebView 2023-09-04 13:38:59.788448+0530 CC Mobile[7551:1246047] [CDVTimer][handleopenurl] 0.221014ms 2023-09-04 13:38:59.792992+0530 CC Mobile[7551:1246047] [CDVTimer][intentandnavigationfil
1
0
733
Sep ’23
Reply to ASWebAuthenticationSession preferEphemeral = false shows null sign-in dialog
It's difficult to diagnose this without more information. Can you file this through Feedback Assistant, and make sure to include: The system logs gathered by Feedback Assistant (ideally triggered shortly after reproducing the issue). The macOS version you're seeing this on. If it's a beta, does this happen on the current shipping macOS? Is this an existing app that started getting different behavior, or a new app that you haven't seen work before? The arguments you're passing to ASWebAuthenticationSession. Thanks! 🙂
Topic: App & System Services SubTopic: Core OS Tags:
Aug ’23
App Store - App Analytics Product Page Views
Is it possible to get app analytics data such as product page views from an Apple Api? See below image showing the data we're looking to get from an API. I've seen code like below. Is this the way to get app analytics data? The below code isn't quite complete. Is there documentation somewhere of how to get this data properly? Is this URL an internal URL that shouldn't be used? https://appstoreconnect.apple.com/analytics/api/v1/data/time-series import requests import json url = https://appstoreconnect.apple.com/analytics/api/v1/data/time-series adamId = 0000000000 # App ID measures = installs # or impressionsTotalUnique cookie_dqsid = dqsid=ey.... # ????? payload = json.dumps({ adamId: [adamId], measures: [measures], frequency: day, startTime: 2021-10-16T00:00:00Z, endTime: 2021-11-14T00:00:00Z, group: { metric: measures, dimension: source, rank: DESCENDING, limit: 100 } }) headers = { 'Host': 'appstoreconnect.apple.com', 'X-Requested-By': 'dev.apple.com', 'Cookie': cookie_dqsid, 'Content-Type': 'appl
0
0
834
Aug ’23
Reply to WKWebView password autofill
Password AutoFill is the most frustrating concept/feature I have been working on in my many years as an app developer. It's a black box full of magic (or heuristics as Apple calls it) and the documentation is theoretical. ASWebAuthenticationSession didn't help, so my workaround (hack) is to intercept credentials in webView(_:decidePolicyFor:decisionHandler:) on WKNavigationType.formSubmitted navigation type. I put the username and password in native UITextFields that is hidden. Sidenote: This is against all security best practices. The textContentType needs to be set accordingly and the order the UITextFields are added to the parent view is super important, constraints does not seem to matter. Currently this works great on local debug builds, but for some reason doesn't on in-house/enterprise builds. The device console does not show anything helpful other that the com.apple.developer.associated-domains -> webcredentials for the domain was approved. Testing against a local webserver also does not w
Topic: App & System Services SubTopic: Core OS Tags:
Aug ’23
Reply to TestFlight Unavailable
Anyone figure this out, I get a similar error: @Apple as well @leeron Aug 10 19:16:18 TestFlight(libusrtcp.dylib)[13660] : tcp_output [C17.1.1:4] flags=[R.] seq=1279848721, ack=2995965602, win=2047 state=CLOSED rcv_nxt=2995965602, snd_una=1279848697 Aug 10 19:16:18 TestFlight(TestFlightServices)[13660] : RP(0x2805420c0) URL=https://testflight.apple.com/v2/accounts/8f5d9d76-6e3e-411a-84b9-6fb853821157/apps/6458789872/builds/120309384/install; code=404; Headers={ Aug 10 19:16:18 TestFlight(TestFlightServices)[13660] : Connection = close; Aug 10 19:16:18 TestFlight(TestFlightServices)[13660] : Content-Length = 134; Aug 10 19:16:18 TestFlight(TestFlightServices)[13660] : Content-Type = application/json; Aug 10 19:16:18 TestFlight(TestFlightServices)[13660] : Date = Thu, 10 Aug 2023 19:16:18 GMT; Aug 10 19:16:18 TestFlight(TestFlightServices)[13660] : Server = daiquiri/3.0.0; Aug 10 19:16:18 TestFlight(TestFlightServices)[13660] : Set-Cookie = dc=pv;Version=1;Domain=.itunes.apple.com;Path=/;Max-Age=86400;
Aug ’23
Error while installing Game Porting Toolkit on the gptk command
Error: Failure while executing; /usr/bin/env /usr/local/Homebrew/Library/Homebrew/shims/shared/curl --disable --cookie /dev/null --globoff --show-error --user-agent Homebrew/4.1.3 (Macintosh; Intel Mac OS X 14.0) curl/8.1.2 --header Accept-Language: en --retry 3 --fail --location --silent --head https://mirrors.ustc.edu.cn/homebrew-bottles/bison-3.8.2.ventura.bottle.tar.gz exited with 35.
1
0
1.1k
Aug ’23