-
Notifications
You must be signed in to change notification settings - Fork 5.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Availability and B2B information through ConnectAPI? #17244
Comments
It seems like you have not included the output of |
I don't think this is added / supported yet. I'm sure @joshdholtz can shine more light on it. |
We used to do it this way as well @mattinasi |
@mhleiftaylor Sorry about that! I can start looking into this this week and try to get it fixed for you 💪 I'm not too familiar with B2B so I may have some questions for you along my journey if that's okay. |
@joshdholtz - thank you! 😸 If I can help test it or review please let me know |
@mattinasi Do you happen to have an |
@mattinasi It also turns out that this is not available in the official App Store Connect API meaning that this will only work over a a web session with Apple ID and not with the App Store Connect API Key (yet) 😔 I'm filing a radar for adding this ability right now. |
@joshdholtz Thanks for the info! I presume we have to do this manually until App Store Connect API supports it and |
@mattinasi Nope nope! I'm working on adding the models and methods to |
@mattinasi Hey sorry! Got sidetracked by some other things but here is the PR 😊 #17490 I dropped an example of how I tested it. If you want to test that this works for you that would be 💯 |
@joshdholtz - I will try and test this in the next day. It looks we will no longer be messing with What is a |
@mattinasi I guess it's another way to make B2B work? I don't really know to be honest lol... But my app store account had an option to select by "Organization" or "Apple ID" so I added the ability to add both 🤷♂ |
Many, many thanks!! 🙏 |
The pull request #17490 that closed this issue was merged and released as part of fastlane 2.165.0 🚀 |
We have automation scripts to publish custom-branded apps in our customers' B2B stores. The final publishing had been working fine but has stopped, due to a change in how App Store availability works since the big API change a couple months ago.
Currently there are 3 Availability options on the App Store Connect website:
We are using
Tunes.Availability.enable_b2b_app!
andupdate_availability
to add our customer's DEP ID and ORG.However the result now is that the second option is selected (Available on the App Store and for volume purchasing on Apple Business Manager and Apple School Manager) and when we try to deliver it to the B2B store it fails with
When I manually select the 3rd option (Available for private distribution to specific organizations on Apple Business Manager or Apple School Manager) and run the deployment script it succeeds.
I presume the old Tunes mechanisms are not quite valid now, and have been looking for a way to update the B2B availability via
ConnectAPI
but I cannot find it... am I missing something? Is there a way to select the 3rd availability option via fastlane?fastlane env
🚫 fastlane environment 🚫
Stack
System Locale
fastlane files:
fastlane gems
Loaded fastlane plugins:
Loaded gems
generated on: 2020-09-15
The text was updated successfully, but these errors were encountered: