I have a json that is coming from the back end with DRM data. Like below:
{
"maxPlayerSizePercentage": 100,
"drm": {
"fairplay": "https://somefairplayprotectedlink/api/licenses/CECAC80C-A71D-45CE-A0FB-6AD98C6262F6",
"fairplayCertificate": "https://somefairplayprotectedlink/fairplay.cer"
}
}
In the documentation of Apple for FairPlay there is no mention about .cer field and how to use it. I also found this but didn't really explain anything about those two fields. Can someone please help me to understand how can I use those fields for my player ?
With these fields that are coming from a third party backned should I still obtain a key from apple?
Related
I have successfully generated a .pkpass file, but it gives following error when trying to open the file:
"The pass “Sample.pkpass” could not be opened."
If I open a prepackaged pkpass from here, it opens successfully. Furthermore, if I use the signpass tool to repackage one of the example folders, it will open successfully.
If I alter my pass.json file to declare:
"barcode" : {
"message" : "123456789",
"format" : "PKBarcodeFormatPDF417",
"messageEncoding" : "iso-8859-1"
}
instead of:
"nfc" : {
"message" : "04:9B:95:D1:70:00:00",
}
Then the pass will open successfully and I can add it to Wallet.
Alternatively, I can remove the "nfc" and "barcode" portions altogether and the resulting pkpass will open successfully. It seems to be something about the "nfc" declaration in particular that is not right.
According to here and here, I am using the correct key names for an nfc card.
I've also tried including "encryptionPublicKey," which is listed as optional.
The whole concept of an NFC Pass in Wallet is elusive, even though it's been in use for years by companies like Hilton for use as a Digital Room Key.
I've requested an "NFC Certificate" from Apple using this form, but who knows how much time that will take, whether it will be approved, or what I am supposed to do with the cert if I did receive it. Also, the goal does not involve ApplePay at all; I just want a pass to present as an NFC card for Door Access with an NFC reader, which should be 100% doable.
Any support or guidance is greatly appreciated.
Additional Reference:
https://tranzer.com/blogs/how-to-create-your-own-wallet-passes-pkpass/
I'm trying to open a .rar file but it has password and it's in the description of a video on Youtube but when I checked the link again it was private and I don't remember the channel's name, so I just want to know if there's a way to find this channel because I just wanna ask to the user if I could have the password. This is the url if it helps, thanks.
https://www.youtube.com/watch?v=6rTPvftDHtQ
I typed "6rTPvftDHtQ" on Google in order to have only webpages containing exactly 6rTPvftDHtQ.
I let you find more details about the other interesting result except this StackOverflow post. The video gaming creator Mataraxu posted the URL of the video as a comment of a Facebook post and the post shares this YouTube channel URL https://www.youtube.com/channel/UC1OnhcSrtZcaI4cgKAfsxsw. If he isn't the man you are looking for, I let you ask him more details.
I WebArchived the webpage from the Google cache because his Facebook webpage doesn't seem to contain anymore this post (and comment), I let you delve this result.
By the way don't hesitate to check your web-browser history as you said that you already went to the video webpage. Maybe with luck you also went on the main webpage of the YouTube channel and then in the URL you would have its name or id.
As far as I know there is no way to do that. One hope would be the waybackmachine, but that has no snapshot of this video page either. So unfortunately you won't be able to search him I guess.
Best Regards!
Im trying to figure out how to determine the users iCloud status. I've read the developer reference outline and I still can't figure out how to determine this. Heres the code that I have extracted and tried to use in my app but it does not do anything as far as I can tell:
enum CKAccountStatus : Int {
case CouldNotDetermine
case Available
case Restricted
case NoAccount
}
I've been at this for awhile now and I know I'm missing something but I can't seem to figure out what it is! Please help!
You need to call CKContainer's accountStatusWithCompletionHandler which determines the status of the current user’s iCloud account asynchronously.
See the CloudKit Framework Reference for the CKContainer Class
https://developer.apple.com/library/prerelease/ios/documentation/CloudKit/Reference/CKContainer_class/index.html
Using the iOS Passbook framework, you can read userInfo, and the documentation says you can read "common data" without it stating what it means by "common".
What I'd like to know is whether using iOS Passbook - Is it possible to read the auxiliaryFields?
Many thanks
I figured it out.
You have to do this:
po [pass localizedValueForFieldKey:#"a2"]
Where a2 is the name of the key you want to access, given that:
{"key":"a2","value":"Super sale!","label":"Code","textAlignment":"PKTextAlignmentLeft"}]
Thanks
This is now resolved
I have created app on Instagram and got access token and client Id.
My issue is that when I send like to image using API method that is showing me error:
meta = {
code = 400;
"error_message" = "you cannot like this media";
"error_type" = APINotAllowedError;
};
}
So like is not being sent to Image. I can explicitly able to like that image from the Instagram app. So may be the issue is not related to image's privacy. Can anyone help me for this issue?
Thanks in advance
************** Edit **************
After I check I am able to send Like from the API consol of the instagram for same media_id with response 200/OK. But from my app issue is still there.
Can I solve this by changing the APP ID AND APP SECRET ?
Please reply
1 - Double check if you are using correct access token
2 - How much likes did you in a hour? Pay attention to it and respect the limits. Take a look here: http://instagram.com/developer/limits/