From the Spotify iOS SDK documentation:
"Please also note that streaming of full-length tracks is only available to your users who have a Spotify Premium subscription."
However, with the SDK integrated into our app, I can login using a non-Premium account and tracks playback in their entirety.
Also, using the non-Premium login, advertisements never play prior to the start of a track, as one would expect with a non-Premium account.
Am I doing something wrong here?
Many Thanks!
Related
Recently Apple released "Sign in with Apple" / Apple Sign-in. This will supported starting from firmware 13.
https://developer.apple.com/sign-in-with-apple/get-started/
As far as I remember, Apple also has "Game Center". The usage for this feature are includes saving game progress on cloud, Achievements, etc.
Android users might be familiar with Google Play Games. In Apple it was this "Game Center".
My question is, what is the difference between Apple Sign-in and Game Center? Is it only the firmware supported?
What is the difference between Game Center and Apple Sign-in?
Well, Game Center is for games. While Sign in with Apple is for your usual applications. You wouldn't take an effort to integrate Game Center in your Enterprise, Banking, Social Media Apps, would you?
Furthermore, Game Center is basically Apple's social gaming network. It uses a framework called Game Kit.
What does Game Kit do?
GameKit provides you with the ability to create apps that allow
players to interact with each other. Multiplayer apps allow your game
to create real-time network matches. Players can invite other players
to join their game. Most importantly, players can receive invitations
to join a match even when your game is not running. Your game is
running on each device and the instances of your game exchange match
and voice data with each other.
Lastly, Sign in with Apple is pretty much like your Sign in with Facebook or Google Sign in.
Sign in with Apple allows you to set up a user account in your system,
complete with name, verified email address, and unique stable
identifiers that allow the user to sign in to your app with their
Apple ID. It works on iOS, macOS, tvOS, and watchOS. You can also add
Sign in with Apple to your website or versions of your app running on
other platforms. Once a user sets up their account, they can sign in
anywhere you deploy your app.
docs:
Game Center: https://developer.apple.com/game-center/
Game Kit: https://developer.apple.com/documentation/gamekit/
Sign in with Apple: https://developer.apple.com/sign-in-with-apple/get-started/
I am developing a iPhone application with integrating Spotify SDK. I am facing some issue regarding premium account and simple account.
I am trying to play song with Spotify simple account without any premium account, but it always showing an error : "The operation failed due to an unspecified issue." and after same song play with premium account they play the song.
Spotify API only supports music playback for users with a Premium Subscription, although the error you're getting could more helpful but this is the reason for the issue you're experiencing.
My goal is to build a lockscreen application on iOS platform. For example, whenever a user tries to unlock the phone my app will be running.
The main purpose is let's say user wants to play a social media like Twitter, Facebook. User has to go through my application first before playing those social medias.
It is something like web blocker or something. I know that iOS is very strict but just wondering if it is possible or not.
These kinds of permissions are not allowed , securing the user privacy.
Please go through the list which shows what permissions we can get from user.
Apart from this , user cannot have alternative control over iPhone application.
iOS helps prevent apps from accessing a user’s personal information
without permission. Additionally, in Settings, users can see which
apps they have permitted to access certain information, as well as
grant or revoke any future access. This includes access to:
Contacts
Calendars
Reminders
Photos
Motion activity and fitness
Location Services
Apple Music
Your music and video activity
Social media accounts, such as Twitter and Facebook
Microphone
Camera
HomeKit
Health
Speech recognition
Bluetooth sharing
Your media library
If the user signs in to iCloud, apps are granted access by default to
iCloud Drive. Users may control each app’s access under iCloud in
Settings. Additionally, iOS provides restrictions that prevent data
movement between apps and accounts installed by an MDM solution and
those installed by the user.
I have a Spotify developers key and have been preparing an iOS app for release that uses cocoalibspotify. Before I submit to Apple, I want to verify my account details and double check Spotify's approval process. But I can't find the info on developer.spotify.com for an iOS app - I just see details for a web app.
Could someone share hints or experiences of successfully publishing an iOS app that uses the Spotify API?
There's no formal approval process other than Apple's — just submit to Apple.
However, make sure you're abiding by libspotify's Terms and Conditions, particularly the fact you can't charge money for an app that uses libspotify.
If you'd like guidance, especially with your UI components (you must make it clear that music is being played from Spotify), contact the same team you would for web apps and they can help — contact details are on the Spotify developer website.
I am developing an Application where I want the user to log in with his/her Apple ID.
Is this possible? If so, how can I do this?
Apple introduced Sign In with Apple at their worldwide developer conference, WWDC 2019.
Here's how Apple describe it:
Sign In with Apple makes it easy for users to sign in to your apps and websites using their Apple ID. Instead of filling out forms, verifying email addresses, and choosing new passwords, they can use Sign In with Apple to set up an account and start using your app right away. All accounts are protected with two-factor authentication for superior security, and Apple will not track users’ activity in your app or website.
Sign In with Apple requires iOS 13 or later, iPadOS 13 or later, watchOS 6 or later, macOS Catalina 10.15 or later, and tvOS 13 or later.
Nope, there is an standard API for this. You could use a UIWebView to make a user log in to an existing login form somewhere on apple.com, and then check for the subsequent success or failure URL, but that would probably be both brittle and rejected by the App Store approval process.
It is not possible currently. Your best bet is to submit a feature request at https://bugreport.apple.com/
If you want to authenticate users without setting up your own registration system, you could adopt Facebook Connect. Lots of people already use Facebook obviously, and you don't have to maintain the signup/forgot password/security stuff at all.
If you don't like Facebook, Google also offers a similar system. (see https://developers.google.com/accounts/docs/MobileApps)
Apple will probably never allow you to log in with the user's Apple ID.
You might be able to allow your users to log into Game Center. The user's Game Center account is tied to the AppleID, so users can be identified by your app that way. But this is assuming that you were actually building a game.
Apple's Game Center documentation is here: https://developer.apple.com/library/ios/#documentation/LanguagesUtilities/Conceptual/iTunesConnect_Guide/15_GameCenter/GameCenter.html#//apple_ref/doc/uid/TP40011225-CH7-SW1
The App Store Review guidelines preclude using any information from Apple's services in your app, which is why it's dubious they would ever allow you to login with an Apple ID:
12. Scraping and aggregation
12.1
Applications that scrape any information from Apple sites (for example from apple.com, iTunes Store, App Store, iTunes Connect, Apple Developer Programs, etc) or create rankings using content from Apple sites and services will be rejected
If what you want to achieve is a seamless user experience between the user's different iOS devices without requiring the user to pick a username and password for your service you could maybe use iCloud. But of course it depends on what you are building. Apple provides some videos introducing the different iCloud APIs: https://developer.apple.com/icloud/documentation/