tns preview not recognizing ios images for tabview tabItems added via App_Resources
Inbox and calendar images in App_Resources directory
They appear here and in the platforms > ios > AppName > Resources
directory after running tns build.
Inbox and calendar images in platforms Resources directory
However when running app via tns preview, they do not sync to the phone/device
Missing inbox and calendar icons in tns preview
ios icons nativescript preview tns
add a comment |
Inbox and calendar images in App_Resources directory
They appear here and in the platforms > ios > AppName > Resources
directory after running tns build.
Inbox and calendar images in platforms Resources directory
However when running app via tns preview, they do not sync to the phone/device
Missing inbox and calendar icons in tns preview
ios icons nativescript preview tns
add a comment |
Inbox and calendar images in App_Resources directory
They appear here and in the platforms > ios > AppName > Resources
directory after running tns build.
Inbox and calendar images in platforms Resources directory
However when running app via tns preview, they do not sync to the phone/device
Missing inbox and calendar icons in tns preview
ios icons nativescript preview tns
Inbox and calendar images in App_Resources directory
They appear here and in the platforms > ios > AppName > Resources
directory after running tns build.
Inbox and calendar images in platforms Resources directory
However when running app via tns preview, they do not sync to the phone/device
Missing inbox and calendar icons in tns preview
ios icons nativescript preview tns
ios icons nativescript preview tns
edited Nov 16 '18 at 10:24
Sateesh
2,18711020
2,18711020
asked Nov 16 '18 at 10:11
phillipintxphillipintx
52
52
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
Short answer:
Additions or deletions in the App_Resources directory are not sync to the preview app. When such changes are desired you will have to setup NativeScript and its dependencies on your machine (Android SDKs, Simulators, XCode etc.)
Long answer:
The tns preview
command has some limitations to what changes can be synced and applied from your project. The general rule that you should have in mind is that any changes related to newly added files that cannot be converted to JS like image files, icons etc. will not be synced to the preview app. Such is the case with anything new you add to the App_Resources directory.
When running tns preview
you should be prompted with warning for any files that will not be synced in the terminal. Also you can run tns preview help
to see notes regarding this command and how to use it.
I already have everything set up on my local machine and other images in App_Resources, like the “home” icon on third tab, are showing correctly in tns preview. It seems like they should work in tns preview if others are already working.
– phillipintx
Nov 16 '18 at 16:34
The "Home" icon and others might be system icons that are by default included in the App Preview bundle but any additions you add will not be synced. If you already have the NativeScript development requirements installed on your local system simply use "tns run ios" "tns run android" rather than "tns preview". The preview option is more of a showcase to run NativeScript without the need of local installation, the "tns run" is much more powerful and should be used for bigger more customized projects.
– Vladimir Amiorkov
Nov 19 '18 at 7:43
add a comment |
Your Answer
StackExchange.ifUsing("editor", function () {
StackExchange.using("externalEditor", function () {
StackExchange.using("snippets", function () {
StackExchange.snippets.init();
});
});
}, "code-snippets");
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "1"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53335615%2ftns-preview-not-recognizing-ios-images-for-tabview-tabitems-added-via-app-resour%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
Short answer:
Additions or deletions in the App_Resources directory are not sync to the preview app. When such changes are desired you will have to setup NativeScript and its dependencies on your machine (Android SDKs, Simulators, XCode etc.)
Long answer:
The tns preview
command has some limitations to what changes can be synced and applied from your project. The general rule that you should have in mind is that any changes related to newly added files that cannot be converted to JS like image files, icons etc. will not be synced to the preview app. Such is the case with anything new you add to the App_Resources directory.
When running tns preview
you should be prompted with warning for any files that will not be synced in the terminal. Also you can run tns preview help
to see notes regarding this command and how to use it.
I already have everything set up on my local machine and other images in App_Resources, like the “home” icon on third tab, are showing correctly in tns preview. It seems like they should work in tns preview if others are already working.
– phillipintx
Nov 16 '18 at 16:34
The "Home" icon and others might be system icons that are by default included in the App Preview bundle but any additions you add will not be synced. If you already have the NativeScript development requirements installed on your local system simply use "tns run ios" "tns run android" rather than "tns preview". The preview option is more of a showcase to run NativeScript without the need of local installation, the "tns run" is much more powerful and should be used for bigger more customized projects.
– Vladimir Amiorkov
Nov 19 '18 at 7:43
add a comment |
Short answer:
Additions or deletions in the App_Resources directory are not sync to the preview app. When such changes are desired you will have to setup NativeScript and its dependencies on your machine (Android SDKs, Simulators, XCode etc.)
Long answer:
The tns preview
command has some limitations to what changes can be synced and applied from your project. The general rule that you should have in mind is that any changes related to newly added files that cannot be converted to JS like image files, icons etc. will not be synced to the preview app. Such is the case with anything new you add to the App_Resources directory.
When running tns preview
you should be prompted with warning for any files that will not be synced in the terminal. Also you can run tns preview help
to see notes regarding this command and how to use it.
I already have everything set up on my local machine and other images in App_Resources, like the “home” icon on third tab, are showing correctly in tns preview. It seems like they should work in tns preview if others are already working.
– phillipintx
Nov 16 '18 at 16:34
The "Home" icon and others might be system icons that are by default included in the App Preview bundle but any additions you add will not be synced. If you already have the NativeScript development requirements installed on your local system simply use "tns run ios" "tns run android" rather than "tns preview". The preview option is more of a showcase to run NativeScript without the need of local installation, the "tns run" is much more powerful and should be used for bigger more customized projects.
– Vladimir Amiorkov
Nov 19 '18 at 7:43
add a comment |
Short answer:
Additions or deletions in the App_Resources directory are not sync to the preview app. When such changes are desired you will have to setup NativeScript and its dependencies on your machine (Android SDKs, Simulators, XCode etc.)
Long answer:
The tns preview
command has some limitations to what changes can be synced and applied from your project. The general rule that you should have in mind is that any changes related to newly added files that cannot be converted to JS like image files, icons etc. will not be synced to the preview app. Such is the case with anything new you add to the App_Resources directory.
When running tns preview
you should be prompted with warning for any files that will not be synced in the terminal. Also you can run tns preview help
to see notes regarding this command and how to use it.
Short answer:
Additions or deletions in the App_Resources directory are not sync to the preview app. When such changes are desired you will have to setup NativeScript and its dependencies on your machine (Android SDKs, Simulators, XCode etc.)
Long answer:
The tns preview
command has some limitations to what changes can be synced and applied from your project. The general rule that you should have in mind is that any changes related to newly added files that cannot be converted to JS like image files, icons etc. will not be synced to the preview app. Such is the case with anything new you add to the App_Resources directory.
When running tns preview
you should be prompted with warning for any files that will not be synced in the terminal. Also you can run tns preview help
to see notes regarding this command and how to use it.
answered Nov 16 '18 at 14:48
Vladimir AmiorkovVladimir Amiorkov
1,5251824
1,5251824
I already have everything set up on my local machine and other images in App_Resources, like the “home” icon on third tab, are showing correctly in tns preview. It seems like they should work in tns preview if others are already working.
– phillipintx
Nov 16 '18 at 16:34
The "Home" icon and others might be system icons that are by default included in the App Preview bundle but any additions you add will not be synced. If you already have the NativeScript development requirements installed on your local system simply use "tns run ios" "tns run android" rather than "tns preview". The preview option is more of a showcase to run NativeScript without the need of local installation, the "tns run" is much more powerful and should be used for bigger more customized projects.
– Vladimir Amiorkov
Nov 19 '18 at 7:43
add a comment |
I already have everything set up on my local machine and other images in App_Resources, like the “home” icon on third tab, are showing correctly in tns preview. It seems like they should work in tns preview if others are already working.
– phillipintx
Nov 16 '18 at 16:34
The "Home" icon and others might be system icons that are by default included in the App Preview bundle but any additions you add will not be synced. If you already have the NativeScript development requirements installed on your local system simply use "tns run ios" "tns run android" rather than "tns preview". The preview option is more of a showcase to run NativeScript without the need of local installation, the "tns run" is much more powerful and should be used for bigger more customized projects.
– Vladimir Amiorkov
Nov 19 '18 at 7:43
I already have everything set up on my local machine and other images in App_Resources, like the “home” icon on third tab, are showing correctly in tns preview. It seems like they should work in tns preview if others are already working.
– phillipintx
Nov 16 '18 at 16:34
I already have everything set up on my local machine and other images in App_Resources, like the “home” icon on third tab, are showing correctly in tns preview. It seems like they should work in tns preview if others are already working.
– phillipintx
Nov 16 '18 at 16:34
The "Home" icon and others might be system icons that are by default included in the App Preview bundle but any additions you add will not be synced. If you already have the NativeScript development requirements installed on your local system simply use "tns run ios" "tns run android" rather than "tns preview". The preview option is more of a showcase to run NativeScript without the need of local installation, the "tns run" is much more powerful and should be used for bigger more customized projects.
– Vladimir Amiorkov
Nov 19 '18 at 7:43
The "Home" icon and others might be system icons that are by default included in the App Preview bundle but any additions you add will not be synced. If you already have the NativeScript development requirements installed on your local system simply use "tns run ios" "tns run android" rather than "tns preview". The preview option is more of a showcase to run NativeScript without the need of local installation, the "tns run" is much more powerful and should be used for bigger more customized projects.
– Vladimir Amiorkov
Nov 19 '18 at 7:43
add a comment |
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53335615%2ftns-preview-not-recognizing-ios-images-for-tabview-tabitems-added-via-app-resour%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown