アプリ関連ニュース
- 2022年10月20日
- 技術情報
Emmetの使用(3)
nishida at 2022年10月20日 10:00:00
- 2022年10月18日
- 技術情報
A useful library for automating emails in Node JS
Today I would like to share about a library that can be used for handling email automation with Node JS. Let’s take a look.
This useful library is Candymail. Candymail is an open-source NPM library. It can trigger and send multiple email sequences with a single JSON file. This library is very easy to use and flexible for handling email processes.
You can check it out here for more details. There is also github repo.
Hope you enjoy that for today.
By Asahi
waithaw at 2022年10月18日 10:00:00
- 2022年10月17日
- 技術情報
WebdriverIO
WebdriverIO is an open source test automation framework written in JavaScript and running on NodeJS. This is especially useful when testing his web apps and native mobile apps for iOS devices. It supports both behavior-driven development (BDD) and test-driven development (TDD), making it a highly preferred choice for automation testers.

WebdriverIO is based on NodeJS, an implementation of the JSON Wire protocol. It communicates using NodeJS, packaged on npm, open source and widely used for app development. Run automated tests using RESTful architecture.
A user writes a test script in JavaScript using his WebdriverIO library. Service requests are sent as HTTP commands via NodeJS. It uses the JSON Wire protocol and the service module forwards the request to the browser.
Upon receiving the command, the browser performs the user’s action. This proves the functionality of the application.

A common reason to use WebdriverIO is to be able to test native mobile apps for iOS-enabled devices. It is very useful for QA because of its simple structure and the ability to write test scripts concisely.
WebdriverIO easily integrates with third-party test solution providers such as BrowserStack. This gives QA easy access to additional features such as recording tests, using real cloud devices and browsers, and test reports.
Yuuma
yuuma at 2022年10月17日 10:00:00
- 2022年10月14日
- 技術情報
flutterでモバイル/Wifiのようなネットワーク接続を確認する方法

今回は、Flutterのインターネット接続の種類が、モバイルデート、wifi接続、Bluetooth接続、Ethernet接続のいずれであるかを確認する方法をご紹介します。
まずはpubspec.yaml ファイルにパッケージを追加する。
connectivity_plus: ^2.3.6
インターネット接続の種類を確認する方法
checkConnection() async{
var connectivityResult = await (Connectivity().checkConnectivity());
if (connectivityResult == ConnectivityResult.mobile) {
cType = "Mobile Data";
} else if (connectivityResult == ConnectivityResult.wifi) {
cType = "Wifi Network";
}else if(connectivityResult == ConnectivityResult.ethernet){
cType = "Ethernet Network";
}else if(connectivityResult == ConnectivityResult.bluetooth){
cType = "Blutooth Data connection";
}else{
cType = "none";
}
setState(() {
});
}
上記の機能をinitState()で呼び出します。
void initState() {
checkConnection();
super.initState();
}
表示ようコード
Scaffold(
appBar: AppBar(
title: const Text("Check Network Connection Type"),
backgroundColor: Colors.blueAccent
),
body: Container(
padding: EdgeInsets.only(top:20, left:20, right:20),
alignment: Alignment.topCenter,
child: Column(
children: [
Text("Connection Type: $cType", style: TextStyle(fontSize: 20),),
],)
)
);
金曜担当 – Ami
asahi at 2022年10月14日 10:00:00
- 2022年10月07日
- 技術情報
Flutter で自動で次のTextFieldを移動する方法
複数のテキスト入力を持つフォームで、現在のtextFieldで入力した後、次の入力フォームに自動でfocsuしたい場合、以下の方法でできます。
TextFieldウィジェットのtextInputActionでTextInputAction.nextを使うと、自動で移動します。
最後の TextFieldウィジェットのtextInputActionでは
TextInputAction.doneを設定してると、focusが外れるようになっています。
Column(
children: const <Widget>[
TextField(
decoration: InputDecoration(hintText: 'TextField A'),
textInputAction: TextInputAction.next, // Moves focus to next.
),
TextField(
decoration: InputDecoration(hintText: 'TextField B'),
textInputAction: TextInputAction.next, // Moves focus to next.
),
TextField(
decoration: InputDecoration(hintText: 'TextField C'),
textInputAction: TextInputAction.done, // Hides the keyboard.
),
],
),
以上です。
参考
https://stackoverflow.com/questions/52150677/how-to-shift-focus-to-the-next-textfield-in-flutter
金曜担当 – Ami
asahi at 2022年10月07日 10:00:00