Most of the times, iOS apps share the links using shorten URLs due to character limit. As per few answers - https://stackoverflow.com/a/1562539 I read to understand how shorten URLs work, I understand that shortly service reads the "path" value to get original long URL corresponding to shorten URL & then they issue a redirect, which is a HTTP 301/302 response and the target URL in the header. Considering this, if iOS can read the target URL after redirection then I think we could use shorten URL.
In WWDC videos & app clip documentation, I do not see any reference about shorten URLs. Did anyone tried or aware whether app clip will support shorten URLs for invocation?
Post
Replies
Boosts
Views
Activity
In my main iPhone application, I am using Omniture to log the analytics events. Before we launch App Clip this fall, product team would like to know if we could integrate custom analytics or not. Considering we have 10 MB size limit for app clips installation size as per this - https://developer.apple.com/forums/thread/650273?answerId=614347022#614347022 answer, I don't think Omniture SDK could be added in App Clip target. Hence it will be difficult to log any analytics event from App Clip target.
As per SKOverlay.AppClipConfiguration documentation - https://developer.apple.com/documentation/storekit/skoverlay/appclipconfiguration, I could pass the campaign Token & provideToken but that will be logged in App Store Connect Analytics campaign if I understand it correctly.
Did anybody integrated custom analytics events in App Clip target? If yes, could you please share the how do you achieve it?
I have uploaded my app build with app clip embedded in it to iTunesConnect today using Xcode 12 Beta 6 successfully. After build is processed on iTunesConnect, its showing red exclamation mark & when tapped on it, it says "This build is invalid".
I received below email from AppleStoreConnect mentioning
Dear Developer,
We identified one or more issues with a recent
delivery for your app, "MyAppName" 20.36
(3642). Please correct the following issues, then upload again.
ITMS-90865: Thinned app clip size is too large The universal variant app clip /Payload/MyAppNameAppClip.app
exceeds the maximum allowable size of 10MB. For details about app
thinning, see: https://help.apple.com/xcode/mac/current/#/devbbdc5ce4f.
Best regards,
The App Store Team
Even though the app clip size is exceeding the 10 MB limit size, I was expecting to see the build details to understand the current app clip size so that I could make the required changes. But I am not able to see the build details at all & hence it will be difficult to know what's going wrong.
Does anyone else faced this issue? How could we check the correct app size of thinned variants to ensure its below 10 MB & ensure build is valid?
In our app clip, we are making an API call to fetch data which will be shown on UI. We get this API response within 2 secs. While we receive the API response, we are showing loading state.
Once we get the API response, app clip takes almost 25 secs to render the data received from API.
We have added some logging to understand the time & found that until below system events are completed, main thread is blocked which prevents updating the placeholder UI with actual data.
2020-07-29 13:10:11 +0000: Created MyViewProvider. Time taken 0.00256502628326416
2020-07-29 18:40:16.754090+0530 MyAppClip[17964:1434520]	HALCADClient::ConnectToServer: failed to find the AHS sub-server port, Error: 0x10000004
2020-07-29 18:40:21.754879+0530 MyAppClip[17964:1434520]	HALCADClient::ConnectToServer: failed to find the AHS sub-server port, Error: 0x10000004
2020-07-29 18:40:21.755091+0530 MyAppClip[17964:1434520]	HALDefaultDevice::Initialize: couldn't add the default input device listener, Error: 268435460 (\^P)
2020-07-29 18:40:26.755403+0530 MyAppClip[17964:1434520]	HALCADClient::ConnectToServer: failed to find the AHS sub-server port, Error: 0x10000004
2020-07-29 18:40:26.755745+0530 MyAppClip[17964:1434520]	HALDefaultDevice::Initialize: couldn't add the default output device listener, Error: 268435460 (\^P)
2020-07-29 18:40:31.756327+0530 MyAppClip[17964:1434520]	HALCADClient::ConnectToServer: failed to find the AHS sub-server port, Error: 0x10000004
2020-07-29 18:40:31.756658+0530 MyAppClip[17964:1434520]	HALDefaultDevice::Initialize: couldn't add the default system output device listener, Error: 268435460 (\^P)
2020-07-29 18:40:36.757257+0530 MyAppClip[17964:1434520]	HALCADClient::ConnectToServer: failed to find the AHS sub-server port, Error: 0x10000004
2020-07-29 18:40:36.757528+0530 MyAppClip[17964:1434520]	HALDefaultDevice::Initialize: couldn't add the default shared output device listener, Error: 268435460 (\^P)
2020-07-29 18:40:36.758519+0530 MyAppClip[17964:1434520] [plugin] AddInstanceForFactory: No factory registered for id <CFUUID 0x6000008d8f40> F8BB1C28-BAE8-11D6-9C31-00039315CD46
2020-07-29 18:40:36.759164+0530 MyAppClip[17964:1434520]	AudioObjectSetPropertyData: no object with given ID 0
2020-07-29 18:40:36.759369+0530 MyAppClip[17964:1434520] 83: Failed to set processVolumeScalar on device. Error: 560947818
2020-07-29 13:10:36 +0000: Created AnotherViewProvider. Time taken 25.097121953964233
Does anybody faced this issue?