Android中的Crittercism的NotificationActivity的目的是什么?(What is the purpose of crittercism's Notificat

编程入门 行业动态 更新时间:2024-10-06 19:29:00
Android中的Crittercism的NotificationActivity的目的是什么?(What is the purpose of crittercism's NotificationActivity in Android)

我正在处理一些遗留代码,其中包含AndroidManifest.xml文件中的以下行:

<activity android:name="com.crittercism.NotificationActivity"/>

由于我在Crittercism文档中找不到任何提及,我想知道它的目的是什么,现在它是否已经过时了。 由于我的公司正在使用Crittercism进行错误报告,所以我不能不加思索地删除对Crittercism的所有引用。

所以我试图弄清楚这个活动的目的。 当我从命令行启动它时,我得到一个空白屏幕,但是如果我使用字符串“-e com.crittercism.notification XXX”启动它,那么Activity将显示消息“Developer:XXX”。 (我通过反编译crittercism.jar文件来解决这个问题。)从AM.xml文件中删除Activity似乎没有破坏任何东西,但我不确定 - 也许以后以某种方式使用它。

I am working on some legacy code that includes the following line in the AndroidManifest.xml file:

<activity android:name="com.crittercism.NotificationActivity"/>

Since I can't find any mention of this in the Crittercism docs, I wonder what its purpose is and if it might be obsolete now. Since my company is using Crittercism for bug reporting, I can't just remove all references to Crittercism without thinking.

So I'm trying to figure out the purpose of this Activity. When I start it from the command line, I get a blank screen, but if I launch it with the string extra "-e com.crittercism.notification XXX", then the Activity will show the message "Developer: XXX". (I figured this out by decompiling the crittercism.jar file.) Removing the Activity from the AM.xml file does not seem to break anything but I'm not sure - perhaps it gets used later somehow.

最满意答案

首先,删除此活动是安全的,特别是在最新版本的Crittercism SDK中。

在Crittercism的上下文中,Notification活动为代理提​​供了在应用程序内向用户弹出消息的功能。 更进一步,只要您的应用程序崩溃,Crittercism就会在崩溃报告中提供受崩溃影响的用户列表。 通过Crittercism门户网站上的界面,您可以向受影响的用户发送通知,例如“嗨抱歉我们正在解决这个问题,我们现在正在处理此问题,并会在错误修复后通知您”或类似的规定。 此消息将在下次应用加载时弹出。

这个功能去年被弃用,而不是通过与UserVoice,Helpshift等公司合作进行客户沟通,我相信会有其他人。

您可以更新到最新的库(在此处找到: Crittercism Android下载 )并查看Crittercism为您自己所做的更改。

First off, removing this activity is safe to do, especially in the latest version of the Crittercism SDK.

Within the context of Crittercism, the Notification activity provided the agent the ability to pop up a message to the user within the app. To go a bit deeper, whenever your application crashes Crittercism provides a list of users affected by that crash within the crash report. Via an interface on the Crittercism portal, you were able to send a notification to the users affected with a message such as "Hey sorry about the trouble, we're working on this now and will let you know when the bug has been fixed" or something along those lines. This message would pop up on next app load.

This feature was deprecated last year in lieu of customer communication via partnerships with companies like UserVoice, Helpshift, etc and I'm sure there will be others.

You can update to the latest Library (found here : Crittercism Android Downloads) and see the changes Crittercism has made for yourself.

更多推荐

本文发布于:2023-08-07 18:10:00,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1465257.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:目的   Crittercism   Android   NotificationActivity   crittercism

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!