Does the Soundcloud app support being shared to? - ios

Can you share an audio file from within your app to Soundcloud, using the Soundcloud app? That is :
User hits the “Share” button
You present a UIActivityViewController
A bunch of apps are shown. Including the Soundcloud app.
If user selects Soundcloud app, the app is openend, and it begins the UI of uploading the audio file to Soundcloud.
It seems to me that Soundcloud does not support this, but I might be mistaken.
Note : Soundcloud used to support an iOS SDK. On top of that you would have to register your app at the developer portal of Soundcloud to get a unique key linked to your app.
The iOS SDK is no longer being supported by Soundcloud, and at this moment the Soundcloud website does “temporarily” not support registering any new apps, but it seems to be in this state for a long time.

No, this functionality does not exist in the SoundCloud app as a share extension. SoundCloud's old iOS SDK, CocoaSoundCloudAPI, did support this functionality. You can look at the code here to see how it worked (you'll have to find a CLIENT_ID to use since SoundCloud is no longer accepting API app registrations), or use the HTTP REST API.

Related

How to get statistical data of app usage of other applications on IOS using react native?

I've been trying to see if it's possible to get information about app usage on IOS. For example, how much time a user spends on his/hers Facebook or Safari applications. How could one go about doing this within a react native application? Is it possible to do it with any framework?
No, it’s not possible. Apple is very strict about this.
An app cannot access other apps' sandboxes, for any reason. Everything an app can do is restricted to its own sandbox, and in no way can other sandboxes be accessed.
User security is very important for Apple.
If the app you are trying to get the data about has an SDK that can be integrated in your react native app, and the SDK has APIs to provide information about usage analytics for the user(which I don't think is possible with FB SDK), you could ask the user for authorization via the SDK and show them the usage analytics information. Although, chances of these APIs being in an SDK are slim, this might be the only way.

Tracking Hybrid Apps with Google Analytics

I have an app with some native screens and some additional content I load via UIWebView. I am trying to track both native and web content into the same google analytics account. I'm able to create an account that tracks web and I can create a separate account that tracks the native screens. How can I combine this tracking into a single account?
Track web code using ga.js and native code using GA iOS SDK
You should have a UA account ID of the sort "UA-xxxxxxxx". If you use this
same Analytics tracking ID across your web app & native iOS app, all your data will end up in the same Google Analytics bucket. Obviously, you'll have to use the javascript library in your web app and native SDK in your iOS app.
Alternative Solution (I dont really recommend this)
You can you have your web app pipe in your GA events into your iOS app. How I did this in the past was like so.
I created a special GA codes like myapp://ga-pageview/<pagename> and myapp://ga-event/event_category/event_name.
Use the UIWebViewDelegate method webView:shouldStartLoadWithRequest:navigationType: to intercept these "special" urls and do the GA callback natively.
In the web app, whereever you need you need call a GA event, create an iframe with the myapp://ga-* url scheme above. Then remove that iframe.

How To Push Music Playable Data Streamed From Spotify To A Device That Does Not Use The SDK Provided By Spotify

I apologise for the possibility of the title of my question would lead to confusion of the problem. For that I will explain my purpose in detail.
We are currently developing our own wifi speaker which is built with MIPS. The speaker comes with an app that will be used to manage it. One of the features that would we would like to include in the app is accessing contents of Spotify and be able to play them on the speakers.
Unfortunately, after going through the iOS SDK Documentation, and did some tests on Web API Console provided by the official of Spotify, I noticed that Spotify does not allow developers to directly get URL of a song, except for preview purposes. I also wasn't able to find any way to get the data bytes of the music streamed from the server. Every content comes with a corresponding URI which is used for a request.
For the device(WiFi Speaker) part, we recently tried to contact Spotify and ask for an SDK that can be used for development. However, one problem is that Spotify told us that they have SDK for x86, and ARMs architecture only. They don't have MIPS.
Now, here are my questions:
Is there any way for me to push music from an app to the WiFi Speakers without having to use SDK (for backend device)?
If Spotify can provide an SDK for our device, then how can we integrate the SDK with our platform?
I'll explain my 2nd question for clarity. Like for instance, in Android and iOS, these are popular platforms and are widely used by mobile devices. So if they provide SDKs for the two OS, then they can use default system frameworks to access the player for playing the content. (In iOS, it's the AVFoundation Framework). However, if Spotify were able to provide the SDK that we need, how would we able to integrate that with our own platform?
I will answer your question no 1:
You should be able to push music from an app using a buffer that you can read from using Core Audio and also forward to a device of your choice. I think what you are looking for can be found at CocoaLibSpotify

Wallet Instant Buy in webview

My app will use Wallet Instant-Buy on Android. It's being used for physical goods. I'd like to use something similar on iOS.
Does anyone know if I can use the web-version of Wallet Instant Buy inside a UIWebView in my iOS app? Will cookies be persistent across app sessions? i.e. user won't need to sign-in repeatedly.
No you cannot use the Instant Buy web API from a webview either or iOS or Android.
You should use a mWeb site for iOS users.
The list of supported browsers are available at https://support.google.com/wallet/answer/2871041?hl=en

ios 6 opening app directly from mail as youtube links

Even though the YouTube app is now not a built-in app by Apple, it looks like when tapping a youtube link (in mail, for example), which starts with http://www.youtube.com, opens the YouTube app right away.
Is there a way to this for custom apps in iOS 6? I only know of custom schemes as the way to launch an app via URL.
The best solution i came across is in this post = >
Is it possible to register a http+domain-based URL Scheme for iPhone apps, like YouTube and Maps?
But this is not as good as youtube integration. Requires user interaction via a confirm dialog etc. I wonder if IOS treats youtube links special and custom apps won't be able to use it?
Since you are talking about iOS6, then I think this answers your question:
Promoting Apps with Smart App Banners

Resources