-
-
Notifications
You must be signed in to change notification settings - Fork 197
hello-world app should be submittable at the AppStore #1490
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
Comments
I believe the missing icons should be added in the default App_Resources (tns-template-hellow-world). CLI cannot do anything in case you just delete some of them. |
Maybe I'm wrong, but as far as I remember, the LaunchScreen should be added in the default Info.plist. So this is again part of the tns-template-hello-world and in case the user modifies it, CLI has nothing to do about it. |
@PanayotCankov @rosen-vladimirov the default Info.plist should explicitly disable iPad multitasking which will obviate the need for a LaunchScreen. iPad multitasking relies on AutoLayout and size classes so it's likely not to work for apps using NativeScript layouts anyway. |
We will have to update the Info.plist in the hello world templates: List all icons from the template in the Info.plist Switch off iPad multitasking requiring We may also switch off the |
We can also use Images.xcassets. The CLI will add
|
iPad Pro will only support launch storyboards, not images: https://openradar.appspot.com/22915712 |
@fealebenpae Launch Storybards are better than images. But then it is hard to provide a decent editor outside the Xcode project. IMO we should have used a full Xcode project in the template (~app/platform) and inserted the resources and run-times similar to the way cocoa pods adds dependencies. The best thing I can imagine for a launch storyboard, that is editable by a non-Xcode user, would be a 9-patch-like image, displayed by our default launch storyboard. How would you address this issue? |
@PanayotCankov Place a simple storyboard in App_Resources with a single image view that loads the LaunchImage asset. This will work for 99% of users, IMO, the rest would need to edit the storyboard. |
Currently submission to the AppStore throws the following errors:
The icons may need to be listed in the Info.plist or carefully stored in xcasset (#683), there is a similar issue (#888).
The LaunchScreen was not added to my app's target.
The text was updated successfully, but these errors were encountered: