Converting cordova project using VS 2015 certificate issue - javascript

Does any one know how to assign the certificate file to the project while creating the Windows app package.
Basically i have a cordova Ionic project which was already developed and now to make a windows app, i used VS 2015 --new project option from existing code. after few hiccups am able to run the windows app,
however am not able to figure out where to add/assign the certificate which i want to use with this package.
am even trying to find where is the app manifest file however not luck in finding it, i can see config.xml.
Appreciate your help.
Regards,
RK.

Does any one know how to assign the certificate file to the project while creating the Windows app package.
If you haven't got a certificate file, you should create one(.pfx file). You can follow How to create an app package signing certificate to create one.
Once you got the certificate. You can sign your app by modifying the build.json file. You can refer to Sign Windows App for details.

Related

How add some source code in a UWP installed app?

I developed an UWP app with Cordova and IndexedDB storage. I need recover some information stored in the indexed database adding a new action to source code.
I got access to the app path at C:/Program Files/WindowsApps/com.mi.app_xxxxx/ inside the www directory I added the new action code. When I start the app it crashes without error messages.
You may not manually tamper with the files in the app install location (C:/Program Files/WindowsApps/ folder). This is a security measure and if any app file is changed in this folder, the system will not allow the app to be launched. The reason for this is that otherwise, anyone could access your app and for example replace some library with malicious executable or crack a licensed app.

How do I find out what packages I had installed in my previouse meteor app?

I recently upgraded to the latest version of meteor. The currently installed meteor version is Meteor 1.4.1.
In trying to continue developing my app (from the previous version) in the upgraded meteor environment, I figured I would create a new app (meteor create newApp) then copy (the code from the original app) and paste (the code into the newly created files) then run it.
I quickly released that I have to re-install the packages that my original app was depending on or else I get error messages.
The issue here is I don't remember the packages my original app is dependent on. I still have the original app folder, which I created in the previous meteor version. Is there a way to extract the list of packages from the original app?
Alternatively is there a way I can merely continue developing and running the original app without having to create a new app and copy and pasting the code? If so how do I do this?
Any help is greatly appreciated
In the app root go to ./meteor directory. In that folder open packages files. All your installed packages names will be there.
Alternatively, you can use meteor list command in the app directory.
Answer to the second part, yes you can continue developing the same app. The packages will be upgraded accordingly. You may face some issues with bcrypt if you are using accounts-passwords package but there are workaround to get over that.

Deploying two github repositories to single azure web app

This is not really a programmatically question, but i couldnt find any more suitable stackexchange site for it.
I have recently moved to Azure, where i deploy my backend web applications and API's. I found that it is possible to deploy multiple web services to one Azure Web App, by creating a branch with its own endpoint url, like so.
Normal : www.example.azurewebsites.net
New : www.example.azurewebsites.net/newSite
I found it is easy to deploy my .NET services from Visual studio to the new endpoint, but does anyone know if i can deploy my git repository to this endpoint by any chance?
I am new to azure, so any help will be greatly appreciated.
You just need to customize the deployment procedure a bit. Amit Apple has a good series on this. Customize your deployment script to build your temporary directory with everything you need and then deploy it. Azure will give you the deployment script to customize or you can use the azure-cli to generate one and you can customize it.
http://blog.amitapple.com/post/38417491924/azurewebsitecustomdeploymentpart1
The deployment script will use KuduSync to copy either a repository or temp folder to your wwwroot folder, so it's up to you to build this folder and have it pushed out.
https://github.com/projectkudu/kudu/wiki/Custom-Deployment-Script

How can I get a Cordova project template working in Visual Studio 2015?

I want to try my hand at a Cordova based mobile app. In Visual Studio's project templates, under Other Languages->JavaScript, there was an option to install the Cordova templates. I ran that, and after a lengthy install, the JavaScript template folder is gone, and there is a new TypeScript project template node, with one Blank App (Apache Cordova) template.
When I chose that template, I get an error message that says:
The template specified cannot be found. Please check that the full
path is correct
This is giving me the probably wrong impression that in VS2015, support for mobile development has only been given lip service, and there is probably a vast amount of DIY work required to get anything done.
What could be wrong that VS is telling me a template that it just installed is missing? I have a default setup of VS2015 with all default folder settings etc.
I had the same issue after installing update 2 of Cordova. I didn't want to do a 7gb update so I unchecked the Windows 10 related cross platform components as I was only interested in the Cordova update.
To fix the issue I installed all the options back into Visual Studio 2015.
I then received a new error when opening a Cordova Project. I looked in the ActivityLog of Visual Studio "SetSite failed for package [ApacheCordovaToolsPackage]"
To fix this issue I delete the ComponentModelCache of VisualStudio
"C:\Users[your user account]\AppData\Local\Microsoft\VisualStudio\14.0\ComponentModelCache"

Need to make a packaged app for Chrome using eclipse

I've been having a hard time trying to figure out how to create a packaged app using eclipse. I have the GWT plugin installed and I can make a web application. I looked at the tutorial and looked to see how to do that. Is there any way for me to convert that web app into a packaged app that has the .html, .css, the manifest, ect. If not, what plugins do I need to write a packaged app in eclipse. Thanks for the help
You can easily push a GWT app (with normal restrictions) as a Chrome extension.
For a Start Read these -
Tutorial 1 - http://blog.tomtasche.at/2011/08/chromegwt-building-chrome-extensions.html
Tutorial 2 - http://tech-drum.blogspot.in/2012/06/building-chrome-extensions-with-gwt.html
You can also try and use this for reference - gwt-chrome
Note - There is a issue logged against GWT for making this process easy. "Star" it please.
The difference between a Packaged App and a Hosted App is the offline behavior
a Packaged App is an install able application on browser and an Web App is hosted from a web server and wont offline.
But you are able to run the packaged when the browser is offline with help of .json file ..hardly calling as manifest.json
Helloworld Packaged App
Chrome article on Packaged apps
Finally you need not to use Eclipse to create a packaged file because all of them are normal files (.html,.js,.css......).If you want use to browse the files easily and for better maintanace you can use it .
I

Categories