Feel free to donate
Or donate Bitcoins: bitcoin:3NKtxw1SRYgess5ev4Ri54GekoAgkR213DAlso via greenaddress
Go to Crashlytics and pick of the needed API-Key and API-Secret:
Create a file fabric.json in the project root folder and add the API-Key and API-Secret:
{
"using_ios": true,
"using_android": true,
"api_key": "...",
"api_secret": "..."
}
$ tns plugin add nativescript-fabric
Or if you want to use the development version (nightly build), which maybe not stable!:
$ tns plugin add nativescript-fabric@next
Add the API-Key to your AndroidManifest.xml:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android" package="__PACKAGE__" android:versionCode="385" android:versionName="1.0.14">
....
<application android:name="com.tns.NativeScriptApplication" android:allowBackup="true" android:icon="@drawable/icon" android:label="@string/app_name" android:theme="@style/AppTheme">
...
<meta-data android:name="io.fabric.ApiKey" android:value="**<API-KEY>**"/>
</application>
</manifest>
No further confiugration needed
For more details see fabric.io/kits/android/crashlytics.
For more details see fabric.io/kits/ios/crashlytics.
Init the plugin in your app (for angular apps use main.ts):
import { Fabric } from 'nativescript-fabric';
Fabric.init();
Afterwards you can use the instance methods for logging (general error logging is already added):
Fabric.logSignUp(method: string, success: boolean);
Fabric.logLogin(method: string, success: boolean);
Fabric.logContentView(id: string, name: string, type: string)
Fabric.logCustomEvent(withName: string, customAttributes: Map<String, String>)
Fabric.logError(error: any, msg?: string)
import { FabricModule } from 'nativescript-fabric/angular';
NgModule({
...
imports: [
FabricModule.forRoot()
],
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':app:transformClassesWithDexForF0F1F2F3F4F5Debug'.
> com.android.build.api.transform.TransformException: com.android.ide.common.process.ProcessException: java.util.concurrent.ExecutionException: com.android.dex.DexIndexOverflowException: Cannot merge new index 69013 into a non-jumbo instruction!nto a non-jumbo instruction!
set the following in your app.gradle:
android {
...
dexOptions {
jumboMode true
}
}
Error:/app/build/intermediates/res/merged/debug/values/com_crashlytics_build_id.xml uncompiled XML file passed as argument. Must be compiled first into .flat file.
Try adding:
android.enableAapt2 = false
to your gradle.properties
file.
The React Native team has been working on something which is fundamentally going to change how the internals of React Native communication work with the host Operating System. It is nicely codenamed “
part 1 版本等说明 #!/bin/bash # # Copyright IBM Corp All Rights Reserved # # SPDX-License-Identifier: Apache-2.0 # # This script brings up a Hyperledger Fabric network for testing smart contracts # and ap
原文作者:Mehul Mohan 原文链接: How React Native constructs app layouts (and how Fabric is about to change it) 作者 React Native 入门教程:React Native - First Steps 作者 Twitter: Mehul Mohan 介绍视频 The future of React N
简介 在启动网络之前,确保你已经安装了所必要的依赖。如果没有安装,请参考之前的两篇内容。 启动网络 进入fabric-samples/first-network文件夹内,执行byfn.sh脚本 cd fabric-samples/first-network ./byfn.sh 之后你会看到如下内容,则表示成功了: Querying chaincode on peer1.org2... =====
Hyperledger Fabric v1.4(LTS) 系列(6.5):Upgrading Your Network Components Hyperledger Fabric v1.4(LTS) 系列(6.5):Upgrading Your Network Components Upgrading Your Network Components 这一节的内容也不少,目录如下 -Overview
入门(Getting Started) Before we begin, if you haven’t already done so, you may wish to check that you have all the Prerequisites installed on the platform(s) on which you’ll be developing blockchain app
简介 这篇内容是为了配合Hyperledger Fabric 1.2系列 第三篇内容而copy下来的。 脚本内容 #!/bin/bash # # Copyright IBM Corp All Rights Reserved # # SPDX-License-Identifier: Apache-2.0 # # This script will orchestrate a sample end-t
Execution model — Fabric 1.4 documentation Execution model — Fabric 1.4 documentation Execution model¶ If you’ve read the Overview and Tutorial, you should already be familiar with how Fabric operates
NativeScript 可以使用 Javascript,CSS, XML 创建真正的 Native 跨平台应用,支持 iOS Android,NativeScript 将您的跨平台代码翻译成目标平台的代码。 UI 使用 XML 描述,CSS 样式,在编译时将 UI 转化成本地原生代码,最终得到正在的 Native 原生应用。 Telerik 公开了用于创建安卓、iOS和Windows Unive
NativeScript Command-Line Interface The NativeScript CLI lets you create, build, and deploy NativeScript-based apps on iOS and Android devices. Get it using: npm install -g nativescript What is Native
NativeScript-Snackbar �� �� �� NativeScript plugin for Material Design SnackBar component. Installation: NativeScript 7+:tns plugin add @nstudio/nativescript-snackbar NativeScript version prior to 7:t
Nativescript-Ripple This plugin aims to bring a native (or close to native) ripple implementation on Android and iOS. The android version uses a RippleDrawable and conserves the previous background, a
NativeScript-FloatingActionButton NativeScript plugin for Material Design Floating Action Button UI component. Installation Nativescript 7+: ns plugin add @nstudio/nativescript-floatingactionbutton Na
NativeScript CardView A NativeScript plugin to provide an XML widget to implement the Material Design CardView component. Installation NativeScript 7+: ns plugin add @nstudio/nativescript-cardview Nat
This project has moved: This project is now being maintained here: https://github.com/nativescript-community/ui-mapboxas it's become clear contrary to what I thought, I don't actually have enough time
Nativescript Hijri plugin This plugin is inspired by https://github.com/arabiaweather/hijri-date Nativescript-hijri Hijri plugin allow you to convert gregorian date to islamic hijri date. Installation