Passbook is not opening in Safari - passbook

I'm currently developing backend for pass generation. I have created sample pass using all guidelines but it doesn't open up on Iphone. Is there any way to debug a problem, cause right now Safari is just showing message - "Safari could not download file".
Here is a link with sample pass:
"https://distributor-test.azurewebsites.net/api/v1/pass"
Thanks for any advance!

According to the errors logged in the console, you have more than one field with an ID of "front-primary". Each field must have a unique ID. Fix the names of the field and try again.
If you have a Mac, you can open the output from an iPhone using XCode or the syslog. This helps pinpoint issues with passes.

Related

The number of times a custom event happened is not being updated on my dashboard

I've been able to distinguish between the live build and the test build on my Android app. Everything works perfectly on the test version. I can see the live events and when I go and see the number of clicks for an event, that gets updated too. However, on the live build of my app, I can see the live events but the number of clicks is not being updated. All the events still show empty analytics. What could be wrong?
Amruta from Branch.io here:
Based on your description it looks like your App is still using the test key. If your App has both the Live and Test key added to the Manifest, and you have the debug mode enabled, your App will continue using the Test key. You should make sure that your App is using the Live key.
You can ensure that your app is using the Live key by using a Branch link from the Live version of your App. On clicking on the link, the link parameters received in the callback should have the parameter '+clicked_branch_link: true'.
If the parameter 'clicked_branch_link' is set to false it means that your App is still using the test key.
If you still continue to face issues, I would suggest writing to integrations#branch.io and they can help you resolve any issues you are facing.

Wallet pass fails to display if it has no images

I am trying to create an ios Wallet Event Ticket. I managed to give all the info I needed to create the pass.json and I have signed and zipped it. When I try to open this on a Mac, I am able to see the pass in the preview. When I email it and try to open it from an iPhone, the screen just goes to the main screen as if it crashed.
After lots of experimentation I found out that if I add at least one of t he images (icon) I am able to see it in preview and add it to the Wallet.
Since I do not care to add any image, this seems way too much just to make it work.
The question is, are images required in the pass? And if not, why does it not work without them. I repeat, it was displayed on Mac preview either with or without the image file.
Yes! manifest.json required the image correctly, moreover the pass.json also need to ensure everything is correct. Some elements must add in json for iPhone open, for example:serialNumber, webServiceURL, authenticationToken, relevantDate
Also, iPhone open .pkpass as difference format with mac. In my case , the signature file is wrong will also make the .pkpass file cannot open in iPhone.

Not able to submit products for inApp-Purchase in iTunes connect in IOS

Getting this error again and again after adding image and hitting Save button. "Your In-App Purchase information could not be saved. Try again. If the problem persists, contact us."
I don't know why this was rejected as an edit. Anyway:
No, this is not a duplicate. This is about In App Purchases while the question you mentioned is about App status.
I was facing the same problem today, and it seems other people too.
What I tried and didn't work (so please don't put this as a possible answer): 1- I used google chrome + Safari on Mac OS 10.12, no chance. Then I tried private mode (same as delete cookies and history), no chance.
2- I switched to windows 7 computer, chrome + firefox (never used before), no chance.
3- I used Safari on iPad Mini with iOS10, no chance.
4- When posting a new IAP with an attached screenshot image, the save button will load forever and nothing will be saved.
5- I contacted Apple about the problem and gave all details. I am waiting for the solution.
Edit : Finally, it is working again (October 7th, 8am GMT). I don't know wether contacting Apple solved this or it was solved for every one. I just uploaded the screenshot and saved the In App Purchase, and I am able to submit the app for review.
If it still doesn't work for you, just contact Apple support with the link provided in the error message, and be patient (try to work in another thing, drink a coffee, or go to shopping :) )
Eventually today i got the success when i had tried from different system,i used the screenshot from iphone5s simulator in 100% resolution and got the success.
But same-thing,i had also tried before putting up this question.
So that means it might be error from apple server as sometimes it just not works.
PFA for screenshot i used:-
If you are resubmitting (for example, after a previous rejection), it seems like this can be caused by adding additional in app purchases.
Our app binary was rejected, we uploaded a new one and while we were at it we added an additional in app purchase to the submission and some extra text to the app review information. All other in app purchases previously submitted remained "In Review" so we were literally just adding in another to the submission.
We got a 500 Internal Server Error when clicking submit (verified using FireFox dev tools). We tried Safari, Chrome, Firefox on Mac and PC - all up-to-date. Same behaviour.
We tried removing the extra new in-app purchase (and cut down the extra review text a little) from the submission and it immediately went through without a hitch. YMMV, but worth checking.

Your app version has been metadata rejected. Please correct the issues and resubmit the new metadata

Your app version has been metadata rejected. Please correct the issues and resubmit the new metadata.
What causes this problem?
If you got your app rejected, you can find out the reason by clicking on View Details button in app version you recently submitted. Then click Resolution Center button located on top-right corner. There you will find the issues posted by apple.
Please check your metadata of your application on iTunes Connect if it's correct.
For more details, please take a look
Does ios app Metadata rejected means binary is good.
friends
not sure this will help
but this is the link with better discription
https://itunesconnect.apple.com/WebObjects/iTunesConnect.woa/da/rejectionReasons?adamId=774935608

Safari 6's New Developer Toolbar doesn't show Form Data in XHR/AJAX Requests

Safari recently went to version 6 (Lion/Mtn Lion) and they've changed over from the standard webkit dev tools to one that's much more XCode looking, my problem other than the OCD of not liking things change is that in the resource tab (or anywhere you can track down the DataService.aspx/AJAX calls) I can no longer see the form data that I am passing.
Can anyone point me to where I can find that data so I don't have to console out my params when I'm testing new data service/backend calls?
I've logged a bug with Apple, they've marked it as a duplicate so hopefully they've received enough requests to fix this, until then I'm continuing to use chrome as the webkit developer is the same as safari's old version.
You can find this info in Instrument tab (stop-watch icon). In the left sidebar thers Timelines row, click the grey circle (record button) on the right. Then click to Network Requests where you see all reqs, and you have to click small icon on the right oc request to display response headers and all form data are available in right panel. Panel can be hidden same as left one (in case you dnt see it).
Unfortunately there are no query pamaters listed, according to this disscussion. I belive its a bug in safari
Edit 15.May 2013: This bug was fixed in Safari 6.0.3.
As far as I can tell, there's no way to show the request parameters.
This goes even further. I can't see the JSON response data either (no clickable arrows to show the containing Javascript objects within the JSON, just pure text)
I think we have to switch to Firefox /w Firebug or regular Webkit in order to get XHR monitoring...
Guys if you want to see post data in safari 6 which is not possible right now, install the firebug lite extension and there you go you have the post data.
I used it and it works great with safari 6
Actually the request headers, response headers and query parameters are in the details sidebar on the right when using the resources view or if you click to see the content of a request in the Timelines/Network Requests view. Took me a few minutes to find that too.
If you need to see what the device is actually sending and your server is on a Windows Machine I use http://www.Wireshark.org and check on the server side of things. No interpretation by any WebKit stuff and very valuable (such as issue with iOS and the 'Blob' data). Similar network snooping should exist on Mac as well.