This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"dashboards": [ | |
{ | |
"name": "Analytics", | |
"subDashboards": [ | |
"name": "RealtimeUsage", | |
"displayType": "list", | |
"metrics": [ | |
{ | |
"Name": "Sessions", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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() | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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)) | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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: |