My company has an internal library with an app which is used inside the company. This app heavily uses the library. To test this heavily test this library using the company app I need to move this app to the example folder of the flutter package (internal library). How can I rename the app inside the example folder and configure deployment configurations for this app.
I understand this might not be suggested but we really need this to heavily test the library using integration tests and QA.
Is there any specific steps to do this in my case?
Related
Google Play has different deployment environments for Android apps, like Production, Open Test track, Closed Test track, and Internal Test.
Similarly, Apple App Store Connect allows us to deploy either in production or to TestFlight and other testing environments.
Is it possible to know if a flutter app is running in Production or in one of these test environments? My use case is that I would like to enable some debugging and troubleshooting features in my app only when it is not deployed in Production, if possible.
Please bear in mind I am not looking for Dart isDebug variable, since apps published on the test environments are also built on release mode, so this is not the solution I need.
They are just channels to publish the application to users, not actual deployment environments.
Debug features need to be added in the build phase. One simple way is to pass values to build and alter the functionality according to them.
flutter build --dart-define=MY_VAR=MY_VALUE
Use in code
String.fromEnvironment('MY_VAR')
See Using --dart-define in Flutter.
Use flavors when different applications (has own application/bundle id) are needed for different channels.
See Creating flavors for Flutter.
I have created custom frameworks to use in my current iOS app.
profileManager.Framework
messagemanager.Framework
requestManager.Framework
Now both profileManager.Framework & messagemanager.Framework are actually using requestManager.Framework methods so what I want is that in my Xcode project of app I only want to keep only one physical copy of the requestManager.Framework code.I want that my request manager code should have only one copy per app and the reference should be linked with other framework.
We have created this frameworks on local machine & now my problem is we can't add dependencies in profileManager.Framework or either in messagemanager.Framework. I want to know that how it can be possible that my both framework will use network manager from app with a single copy of its in application.
Have that framework at your single view application level and make sure the framework path is given correct in build settings of App and as well as Framework.
This way you maintains only one copy of framework that too at Project level and feel free to use in Project or Project Framework level.
How about trying to manage the dependencies of those frameworks with CocoaPods?
In the podspec of UserManager.Framework and InboxManager.Framework , configure the dependencey like s.dependency 'NetworkManager', '~> 1.0'. In this way, you can have only one physical copy of the NetworkManager.framework code in your app.
For example, AlamofireImage and Alamofire-SwiftyJSON both have the dependency on Alamofire but only one physical copy of the Alamofire.framework installed in the app with running pod install.
Reference: AlamofireImage.podspec, Alamofire-SwiftyJSON.podspec
I have a Java Web Start application for which the JNLP is generated dynamically. The JWS application is built in NetBeans, which offers me several options RE the codebase for this app, including not specifying one. But so far, I've been using the "User defined" option, i.e., I've been specifying the codebase within every build. My question is, what do I need to do to get my app to run if I don't specify a codebase? Right now, I have to rebuild with a different codebase for each environment in which I want to run this application, which is not ideal. But if I don't specify the codebase, the JWS application won't run. I'm currently writing the dynamic JNLP to a ServletOutputStream. Would I have to write it out to an actual file first before I could use it?
I`m struggling with the following issue:
I try to deploy my uwp app with a Mobile Device Management System (MobileIron). it's only accepts .appxbundle, no .appxupload files. When i try to install/deploy the app on a device, i get the error
Can not install package XY because the package xy has a dependency to Microsoft.NET.CoreRuntime.1.0. This package is needed for the installation. Deploy this Framework together with your package
(my custom translation ;) )
The problem is, I dont know how to create a package, that's shipping the needed CoreRuntime within. When i create a DEBUG Package, i get a appxbundle and a folder with the missing CoreRuntime.appx, but only the powershell script is shipping the CoreRuntime Framework to the Device, not the bundle itself.
When i create a RELEASE Package, it`s running agains .NET Native, in this case i have no CoreRuntime...
Hope i explained my problem good enought and someone can help me or give me a hind.
You need to enable .NET Native, From your Project Properties:
Make sure that your configuration is for Release. And check
Compile with .NET Native tool chain
and
Optimize code
finally make sure to create your packages from Store->Create App Packages. With the following configurations:
I am in flux for integrating an automated GUI testing with my build system. My GUI application is developed in GWT. I use HUDSON as my automated build system. I would like to perform sanity test of my application. As I understand, the entire test setup will have following steps.
Build and deploy the application in predefined application server. In my case, it would be create and install the application in Android emulator.
Start/Launch the application.
Perform pre-defined user actions(UI Test cases) and validate them.
Somehow include validations for different browsers. I am really not sure how can I do this.
Generate report of test cases performed.
I am not posting the details of application as I think this detail will not make any difference in the approach. Can somebody guide me using past experience if this is possible and if it is then to what extent. The best UI automation tool (preferably open source) which can fit easily here.
We use TeamCity as build server for a GWT application. We just use it as a build server with two tasks: compile sources into Javascript, and deply war file to Tomcat application server. Although I didn't manually set it up yet, I believe it's possible to add a third task for UI testing using Selenium (which we used for another JSF web application testing).
A fairly good example of using Selenium automated testing is RichFaces. If you download its source code package, it includes hundreds of UI-testnig codes written generated by Selenium.