SQLite plugin for Phonegap? - ios

I have a Phonegap project which so far has been used to build an Android app. I'm using locally installed Phonegap on Windows with a pre-populated SQLite database. The project uses Cordova-sqlite-ext plugin, my version is about a year old, have not had need to update.
Now I need to build a Windows version which should run also on Windows 8.1, not only Windows 10. This is for real computers, phones are not that important. It seems that in a few months also an iOS version may be needed.
After checking Cordova-sqlite-storage, Cordova-sqlite-ext, Cordova-sqlite-evcore-extbuild-free and Cordova-sqlite-legacy-build-support at GitHub I'm lost and don't know can I use any to reach all my goals.
Switching from Phonegap to Cordova is not an option because
building an iOS app on Windows is not possible with Cordova,
right?
PhoneGap CLI and Build are supported only by
evcore-extbuild-free which does not support pre-populated
databases.
Building for Windows 8.1 requires the legacy one
which does not support pre-populated databases.
So my question is that has anyone tried something like that? I'm wishing the documentation might not be up-to-date but perhaps that's a long shot. If nothing else I might be able to create the database structure and then ask a user to download data to populate it, but would prefer to avoid this.

One solution could be to develop the app using Windows and build the iOS version on a Mac. You could buy a single Mac to use as a build server or use a service like MacInCloud. If you're using Visual Studio, there are instructions for setting this up.

Related

distribute and update electron desktop app using microsoft store

Our company would like to upload an electron desktop application to Microsoft Store, so 3rd party contractors can use it for their work. It would be publicly available.
The applications is signed and it can be built to either msi or exe format.
Is it possible to distribute our app like this?
When a new version becomes released how much time would take for Microsoft to validate our app before it can be publicly available?
The application is under development. An auto update feature is planned to be implemented. Does Windows Store provide an API to check the available versions?
Please note that we don't have any C# developers or any licenced Visual Studio instances. We would like to use Javascript/TypeScript/Angular and shell script technologies. The executable is built on linux CI server using electron.js and mono with wine. The CI pipeline is already implemented, only publishing is missing.
Thanks.
MSI and EXE installers are not supported by the Windows Store. You need to package your app as an MSIX, as explained here:
How to build an MSIX package for an Electron application
The following article talks about the steps you need to go through for publishing an app in the store. Usually. an update should be validated by Microsoft in maximum 3 days, from our experience.
How to publish your MSIX package to the Microsoft Store?
Regarding updates, the store provides it's own auto-updates service, to ensure a consistent update experience for all the apps on the machine (instead of having each up launch it's own custom updater...). You don't need to write any special code for this.
If you want to enforce some update patterns, you can use the following API to check for an update in the MS store.
Disclaimer: I work on the team building Advanced Installer.

Advantage of using visual studio on windows for iphone app development over native environment

I am reading a way to setup iphone application development environment on my windows. It states that “A network-accessible Mac set up with Apple's build tool” is required. My confusion is that, if i need to buy a mac machine and need to setup an envionment then why i will use windows and visual studio?
I am exploring why it is advantageous for me to build ios app in xamarin when i need to buy mac machine and install xcode. Why i will use xamarin when i am new to both C# and swift?
Please ignore my limited knowledge and flaw in question.
Using Xamarin to build apps
enables C# developers (there are millions of them) to leverage the language and framework they already know instead of learning a completely new one
allows them to share code between existing C# apps written for the web or desktop (very important in an Enterprise environment)
using Xamarin Forms, allows you to create a single codebase that targets multiple platforms (iOS, Android, UWP, etc)
if all you care about is iOS and you don't already know C#, then Xamarin may be of limited benefit to you

XCode working with TFS 2013 via Eclipse

I develop iOS app my company decide to use TFS server, BUT we face many problems to make it works with xcode the best solution "As my research finalize" is use it via eclipse as the other BB, android and windows phone works.
Instruction found in this link.
BUT my own problem is eclipse alway ignore .pch -IDK if other file got ignored to- file that result in build failed where my teammate pull the project.
Any help will be appreciated

How to use Xamarin in Visual Studio and Mac in the same time

I have just developed and android app using eclipse and now I want to develope its IOS version. I want to use Visual Studio and C# (I feel pretty much comfortable in these environments).
I read that, to achieve this I can use Xamarine. Everything is OK with configuring Xamarine on Visual Studio and using it in Visual Studio (I understood this part). I couldnt understant the "mac" part. They are saying that in order to build this app I need a mac running in my local network. Unfortunately I have no idea about Mac. Instead of using it in a local network, could I just install it in a Virtual Machine in windows and configure it on that way that I can see this mac from Visual Studio (How can I do this ?! :S).
I am sorry if my question is unclear but I would be greateful if any of you helps me understand these issues and help me develop my first IOS app in Visual Studio.
If you are going to do iOS development using Xamarin you need a Mac. A Mac will always be required to submit the app to the app store, and the way Xamarin works, you need to use a Mac to create the UI for iOS apps as well.
To get the most of the Xamarin, you ideally would develop your base code using Xamarin and C#, then build separate UI's for both Android and iOS. While your UIs are separate, your base core code is all the same for both apps.
It really does not make sense to have a native Android app all in Java, and then write the entire iOS app in C#. Either stick to completely native apps for both platforms, or use a wrapper like Xamarin for both.
Xamarin.iOS for Visual Studio makes it possible to develop iOS
applications on Windows, but you will still need a Mac in order to
compile and run the code.
Today, Xamarin.iOS integration in Visual Studio is focused on enabling
developers to develop in C#. Xamarin developers who write Xamarin.iOS
applications on Windows typically hand-code their user interfaces—or
they will need to switch to the Mac to use Xcode (or a beta version of
Xamarin’s new iOS Designer) to interactively design an iOS user
interface layout.
"or use a wrapper like Xamarin for both"
I have discovered the term wrapping is not correct for this product.
Unlike other products (Corona, Phonegap, Titanium, ...) that wrap up in a common, genericized library, Xamarin compiles at core level with no penalty. It is 100% native. All functionality in all it's supported platforms is 100% available and not watered down.
Wrappers can be faster to program in, in theory, but when you factor in the time you will spend looking for workarounds for the one piece of functionality that is available natively but not in your wrapper library. When you factor in the constant bugs because wrapping for 3 or more platforms is a constantly moving target and you can't count on it working from day to day.
When you factor all those things in, writing native in c# for all platforms is the better option.
I tried them all, and xamarin was my last choice as I was distracted chasing that perfect golden goose wrapper product.

Setting up TideSDK in Titanium Studio

i am trying to setup the tidesdk in titanium studio but it won't work for some reason... Here is what i've done so far:
Downloaded Titanium Studio v2.1.2.201208301612 from appcelerator
Downloaded TideSDK v1.2.0.RC4 from tidesdk.org
Added the sdk in Titanium Studio like this: "Help > install specific
titanium sdk"
Basically i just followed the instructions from this: https://groups.google.com/forum/?fromgroups=#!topic/titanium-desktop-transition/wv6fiRD6Sbo
But the option to start a new desktop project won't come up. Is there something i am doing wrong or something?
I am using lion 10.7.4, according to this google group that shouldn't be a problem. Anyone's got any ideas?
Here are a couple of things to help you on your way:
Lion and Mountain Lion with Xcode 4.x are supported in the upcoming 1.3.0 but not 1.2.0.RC4. 1.2.0.RC4 will work fine with Snow Leopard 10.6.x on Xcode 3.x. Another possibility in the short term is to consider developing on either a Windows 7, or Ubuntu 11.04 virtual machine until the 1.3.0-beta has released. This release is expected very soon and provides updates to core libraries and offers support for current operating system versions of OSX, Windows and Linux.
Code you write in 1.2.0.RC4 will work fine in 1.3.0 since there are no API changes. The only change will be in the JavaScript namespace. In 1.3.0, the JavaScript namespace for the future will use 'Ti' as opposed to 'Titanium'. By setting a global variable in your code, you can start using 'Ti' to begin with.
var Ti = Titanium;
As far as Titanium Studio, unfortunately Appcelerator dropped the desktop support but have revived it. They have come out with an update that is reported to work:
http://preview.appcelerator.com/appcelerator/studio/desktop/update/beta/
If your run into any issue, an alternative is to download TiDev Community:
http://api.appcelerator.net/p/pages/app_page?token=m4rZLSv6
TiDev Community is really reaching the end of its life cycle but it will work for creating in running your apps in the short term.
The TideSDK team has a new app under development called TideSDK Builder. TideSDK Builder will provide the basics of creating, running and packaging your apps. It will also feature scaffolds for kickstarting your app projects. A new tidebuilder CLI will also be available with comparable functionality. We are hoping to bundle these for the official release of 1.3.0 that is targeted for the end of September.
Appcelerator has provided a Titanium Studio SDK. The TideSDK team is exploring this to see that Titanium Studio IDE can continue for the future.
One last thing to keep in mind is that Titanium Studio and TiDev Community no longer support the network packaging service that Appcelerator once offered. This means local packaging in the interim while TideSDK team continues to examine options.
Please follow TideSDK on twitter for updates and announcements at http://twitter.com/TideSDK

Resources