View FlurryMobile-Config Sample
{ | |
"dashboards": [ | |
{ | |
"name": "Analytics", | |
"subDashboards": [ | |
"name": "RealtimeUsage", | |
"displayType": "list", | |
"metrics": [ | |
{ | |
"Name": "Sessions", |
View Resource.kt
import java.util.* | |
sealed class Resource { | |
class Success<out T>(val data: T, val date: Date?): Resource() | |
class Error(val message: String, val date: Date?): Resource() | |
class Loading<out T>(val data: T): Resource() | |
class Cached<out T>(val data: T, val date: Date?): Resource() | |
object ReAuthenticate : Resource() | |
object Logout: Resource() | |
} |
View FlurryMobile-TimberLog.kt
object TimberLog { | |
fun init() { | |
Timber.plant(ReleaseTree()) | |
} | |
class ReleaseTree: Timber.Tree() { | |
override fun log(priority: Int, tag: String?, message: String, throwable: Throwable?) { | |
if (priority >= Log.WARN) { | |
FlurryAgent.onError(tag ?: "", message, throwable ?: Throwable(message)) | |
} |
View ApktoolDecompileError.log
I: Using Apktool 2.4.0-3cf5cb-SNAPSHOT | |
I: Checking whether sources has changed... | |
I: Checking whether sources has changed... | |
I: Checking whether resources has changed... | |
I: Building resources... | |
S: WARNING: Could not write to (/var/root/Library/apktool/framework), using /var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/T/ instead... | |
S: Please be aware this is a volatile directory and frameworks could go missing, please utilize --frame-path if the default storage directory is unavailable | |
W: /Users/amehrpour/Development/Android/Frankly/apk/WTXF/res/values/xmls.xml:3: error: Resource entry ww_box_styles_schema is already defined. | |
W: res/xml/ww_box_styles_schema.xsd:0: Originally defined here. | |
W: |