titanium-crashlytics:使用Titanium(iOS Android)中的本机Crashlytics SDK
- o0_847300了解作者
- 5.2MB文件大小
- zip文件格式
- 0收藏次数
- VIP专享资源类型
- 0下载次数
- 2022-06-14 19:14上传日期
Appcelerator Titanium中的Crashlytics
使用Appcelerator Titanium中的本机Fabric Crashlytics iOS / Android SDK。
支持这项工作
@hansemannn的整个Firebase支持由社区( @hansemannn和@m1ga )开发和维护。 为了保持该项目的正常运行并能够使用最新的Firebase SDK,请查看此存储库的“赞助商”按钮,谢谢!
要求
iOS:Titanium SDK 8.0.0+
Android:Titanium SDK 7.0.0+
设置
通常,请记住在实际打开第一个窗口之前不要使用任何Crashlytics API。 尽管这可能不会导致iOS崩溃,但由于需要本机Activity如果在应用程序完成启动之前使用本机Android SDK,则会出错。
重大变化!
2.0.0版模块使用F

titanium-crashlytics-master.zip
内容介绍
# Crashlytics in Appcelerator Titanium
Use the native Fabric Crashlytics iOS / Android SDK in Appcelerator Titanium.
## Supporting this effort
The whole Firebase support in Titanium is developed and maintained by the community (`@hansemannn` and `@m1ga`). To keep
this project maintained and be able to use the latest Firebase SDK's, please see the "Sponsor" button of this repository,
thank you!
## Requirements
- [x] iOS: Titanium SDK 8.0.0+
- [x] Android: Titanium SDK 7.0.0+
## Setup
In general, remember to not use any Crashlytics API's before actually opening your first window. While this might not result
in a crash on iOS, the native Android SDK will error if being used before your app finished launching due to requiring the
native `Activity`.
## Breaking changes!
Module version 2.0.0 uses Firebase Crashlytics instead of the (deprecated) Fabric Crashlytics. Please make sure to check the
removed and changed API's!
### iOS
1. Create a new folder `scripts/` in your project root
2. Copy the `run` and `upload-symbols` shell files from this repo's `helper/` directory to `scripts/` in your project
3. Make sure your Firebase project is configured properly and you have your `GoogleService-Info.plist` in place,
as described [here](https://github.com/hansemannn/titanium-firebase).
4. You are ready to go!
### Android
1. Add the following to the `<application rel='nofollow' onclick='return false;'>` tag inside the manifest configuration in your tiapp.xml:
```xml
<meta-data android:name="io.fabric.ApiKey" android:value="YOUR_API_KEY" />
```
2. Add your GUID or a random UUID to `[app]/platform/android/res/values/strings`:
```xml
<string name="com.crashlytics.android.build_id">RANDOM_UUID</string>
```
3. You are ready to go!
## Example
See the [Sample App](https://github.com/hansemannn/titanium-crashlytics-demo/blob/master/README.md) for an example of configuring
the required API keys and project settings.
## API's
### Cross platform API's
### `log(message)`
Log a Custom Event to see user actions that are uniquely important for your app in real-time.
### `setUserIdentifier(userIdentifier)`
Specify a user identifier which will be visible in the Crashlytics UI.
### Android only API's
### `crash()`
Simulate a crash (for testing purpose)
### `throwException()`
Simulate an exception (for testing purpose)
### `setUserName(userName)`
Specify a user name which will be visible in the Crashlytics UI.
### `setUserEmail(userEmail)`
Specify a user email which will be visible in the Crashlytics UI.
## Author
Hans Knöchel ([@hansemannnn](https://twitter.com/hansemannnn) / [Web](https://hans-knoechel.de))
## License
MIT
## Contributing
Code contributions are greatly appreciated, please submit a new [Pull-Request](https://github.com/hansemannn/titanium-crashlytics/pull/new/master)!
评论



相关推荐
- MatHaxAPI:MatHax 的 API。 MatHax 是 Fabric 的高级 Minecraft 实用程序模块。 目前此存储库用于: 披风(客户) 版本(客户端和网站) 下载(网站) MatHax 是 Fabric 的高级 Minecraft 实用程序模块。 目前支持 Fabric [未发布] MatHax Legacy 是一款适用于 Fabric 的高级 Minecraft 实用模块。 ...
- terraform-aci-fabric该存储库包含使用提供程序创建terraform配置文件的示例模块。 该模块及其子模块用于通过提供的ACI提供程序自动执行ACI结构策略部署。 及其。 假设条件 您想要部署ACI Fabric并通过Terraform Cloud对其进行管理。 ...
- service-fabric-scripts-and-templates:有用的Service Fabric脚本和Resourc贡献 该项目欢迎您的贡献和建议。 大多数捐款要求您同意一份《捐款者许可协议... 您只需使用我们的CLA在所有存储库中执行一次此操作即可。 该项目采用了。 有关更多信息,请参见或与联系,并提出其他任何问题或意见。
- fabric-1.0-:fabric 1.0源码分析笔记(个人用)账本存储结构+ chaincode执行流程+收集资源-源码资本面料-1.0- fabric 1.0源码分析笔记(个人用)账本存储结构+ chaincode执行流程+收集资源
- InformationModel:FABRIC信息模型库FABRIC信息模型库,包含用于对不同类型的信息模型表示形式(条形和切片)进行操作的类定义和方法。 该实现涵盖以下模型和模型转换: ARM(聚合资源模型)-由聚合所有者生成,可能包含多个针对不同代理的资源委托 ...
- fabric-icons从导入的Fabric图标集。 请注意,该存储库中的图标永远都不要直接使用,因为它们没有经过优化。 更新图标 绝对不要在此存储库中手动添加或编辑图标,因为真相的来源在。 Figma访问令牌 如果您是首次运行导入脚本,...
- Golemancy:Arise My Minions,用于Minecraft的Fabric修改版魔像 ... 这个mod仅用于Fabric; 没有计划的Forge端口。 学分 一些纹理是从出色的Malcolm Riley的存储库中改编而成的,即: 灵魂之镜物品。 灵魂嫁接者方块。 灵魂石物品。 这些资产根据进行许可。
- dotted-map:使用fabric.js的虚线地图实现点状图 用fabric.js创建的动态世界地图。 项目是可悬停的。 映射存储在数组中,并可能用于其他目的。
- fabric8-hubot-scripts:在fabric8上运行hubot的脚本fabric8-hubot-scripts 该存储库包含使用的默认的集合。
- Storage-Network:[FABRIC MOD]一个受简单存储网络启发的存储模块ZiRO's Storage Network 一个受简单存储网络启发的存储模块 执照
最新资源