adding tests to ionic v3 prior to v4 upddate - ionic-framework

I have a (complicated, live, in production) ionic app that is currently on ionic-angular 3.9.2 but has been around since (I think) the v1 days. There are no tests (yikes).
I see that Ionic 4 ships with some e2e testing support which is great, but does me little good since it's not compatible with the version that I'm on.
I'd like to get some e2e tests in place prior to biting the bullet and migrating up to v4 and all the many changes that will entail.
Are there any resources available that can help me add tests to a v3 app in a way that will be compatible with v4 as I go through the update process?

Related

Vaadin 8 licensing error for vaadin charts

I have a vaadin 8 application that builds and runs fine with versions up to 8.14.3. along with a vaadin pro subscription. Since 8.15 and the change in to CVDLv4 the application builds but doesn't run.
I have installed the license for vaadin charts and it is recognized, as I get: "Vaadin Charts 4 registered to ### (Pro Tools subscription)" during build. If i remove the license file compile fails as expected. I've also tried the license as a parameter with the same results.
When I run the application (on Netbeans), I get: "java.lang.RuntimeException: Unable to validate subscription". I thought subscription validation was only done during the build. In any case it should be able to validate the license as it did during the build. I've tried all the suggestions I could find (firewall, adblocker etc are off), tried different browsers etc. but couldn't get it to run.
Vaadin 8.14.3 is the last release under Apache 2 license. The subsequent releases are offered under commercial extended maintenance.

Any API works like Microsoft.Azure.NotificationHubs and can be used in .NETFramework 4.5.2 project?

I plan to use the Microsoft.Azure.NotificationHubs to push notification through Azure notification hub in backend service of an existed project. However, I found that the project is using .NETFramework 4.5.2. As the document stated, the SDK has dependecy to .NETFramework 4.6.1 or higher.
Since the existed project is already developed well and problems could appear if I upgrade. Any other solutions please?
Due to you don't want to upgrade to .Net Framework 4.6.1 or higher. You can use REST API, create HttpClient in your existed project to send Http Request.
(notificationhubs)REST API methods
You can use HttpHelper in my sample code.

Incrementing app version using codemagic in flutter

I don't understand what does codemagic team mean on this screenshot. Why should I add 100 to build number? Or this is just an example? And when should I update 1.0.0 to 1.0.1 or 1.1.0 to 1.2.0?
It's just an example demonstration how to add greater numbers. Often necessary when you have already built many times locally and are switching to automatic - otherwise your publishing will fail. If you do not have any releases yet, then just using $BUILD_NUMBER is sufficient.
I think updating the build version is up to the developer though - and there are no strict rules how to do it - just move upwards with it.
https://rollout.io/blog/best-practices-when-versioning-a-release/

Ionic Angular js IDE

Is there an IDE like Xcode to develop cross platform apps using ionic? I played with creator.ionic.io but they charge 40$ per month for the complete app development. Can you suggest some open source IDEs? Basically I wanted something similar to ionic where I can drag and drop objects to build the UI
I had come across the same problem when i started at first and found some suggestions from ionic official website.
I copied contents here for convenience.
Visual Studio Code
VS Code is a new editor that comes with support for ES6 syntax, as well as TypeScript support. It will also prompt users to include TypeScript definition files and download them from Definitely Typed. Visual Studio Code is free and works on OS X, Windows, and Linux.
Atom
Atom is cross platform editor built on web technologies. Atom has many plugins to make ES6/TypeScript development very easy. If there isn't something provided by Atom or a plugin, you can even make a plugin yourself, using JavaScript. Atom works on OS X, Windows, and Linux.
WebStorm
WebStorm is a paid IDE that provides many features, such as advanced refactoring support, automatic compilation of code, and gulp/grunt/webpack support. Out of the box, WebStorm comes with support for ES6 and TypeScript, as well as Angular and Ionic syntax support.
ALM
ALM is a free open source IDE built for typescript development, it can be run on any computer running chrome and can be hosted on a server and used on any computer with internet access.
Angular IDE by Webclipse
Angular IDE is a freemium IDE built for Angular 2 and TypeScript development providing integrated terminal support helping with node and npm management. Out of the box, Angular IDE includes code completion and validation for ES6, TypeScript, and Angular 2 HTML templates.
Personally i am using "Brackets" its open source as well and really good.
I think community gets totally confused about the OP's question here.He is asking not about an IDE for developing Ionic apps.He is asking the IDE like an Ionic creator.Which is the IDE anyone can create ionic apps without writing a code.
What is an Ionic Creator? See here.
Creator is a simple drag-&-drop tool for going from idea to App
Store, with just the drag of a mouse.
There is no such free and open source tool but the price you have mentioned is not correct with the official Ionic creator. It is $24/mo.You can see details here.
PRO
$24/mo for individuals
Unlimited Projects
Private Projects
In-Tool Code Editing
Basic & Native Exporting
Creator Mobile App
Note:
By using above tool you can create Ionic 1 apps only.There is no support for Ionic 2 yet. You can see the Roadmap of Ionic 2 creator here.

What steps are necessary to automate a build of iPhone app?

I have prior experience in build a automatic build process for .NET & Delphi projects but now want to automate the building of a iPhone project... not only simply builds but also to the final deployment..
I want a generic step list, with the command line actions that need to be performed, so anyone could adapt it to their particular build software.
Also, how build with support for 3.0 and 2.0 targets (or more general: How build to different deployments targets???)
So:
Preparation:
Set support for application versioning with agvtool.
Build steps:
Checkout the sourcecode
Clean the project
Increase the version: agvtool bump -all
If is for deployment also run: agvtool new-marketing-version <new version here>
Build the project (how?)
Build the test suite
Run the test suite
What more?
Building the target is the easiest of the pieces. Use xcodebuild. It can easily target separate SDKs. It's also the tool that will build your test suites for you (by using a separate target generally). I recommend relying on xcodebuild as much as possible. I've only seen heartache come from trying to wrap xcodebuild calls with make, jam or ant. You have to build with xcodebuild eventually, so it's worth studying the Xcode Build System Guide and learning to make the most use of it. It's quite powerful. I have a few introductions to configuring it here.
Running the test suite is more difficult to automate for iPhone (especially if you need to test on device). There have been other discussions of this. For many apps, you may not be able to fully automate this step.