Coder Social home page Coder Social logo

telemetrydeck / fluttersdk Goto Github PK

View Code? Open in Web Editor NEW
3.0 3.0 2.0 289 KB

Flutter SDK for TelemetryDeck, a privacy-conscious analytics service for apps and websites.

Home Page: https://telemetrydeck.com/

License: MIT License

Kotlin 14.62% Dart 36.72% Ruby 14.42% Swift 30.47% Objective-C 0.11% Shell 3.66%
analytics flutter tracking usage-data

fluttersdk's People

Contributors

kkostov avatar novas1r1 avatar winsmith avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

fluttersdk's Issues

[Docs] Misleading "TelemetryManager" in Readme.md

In the README.md it says we should use the TelemetryManager to call the functions of the SDK. The TelemetryManager doesn't exist. This could be misleading. Instead we need a new instance of Telemetrydecksdk to be able to call the functions.

So instead of this:
TelemetryManager.send("signal_type")

It should be this:
Telemetrydecksdk().send("signal_type")

Or:

final telemetryManager = Telemetrydecksdk();
telemetryManager.send("signal_type");
...

Too many signals for lifecycle methods on android

Hey there,
on android I'm getting a lot of signals pushed into my dashboard - around 3k for 3 users in 2 days. Mostly because of lifecycle method calls like "ActivityPaused", "ActivityStopped" etc.

Here's a screenshot showing the signals and user count:
image
image

I would like to disable them and only trigger them manually. Would that be possible?

Best
Verry

Unable to build on Android

When I run my app on Android I get the following build error

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':app:mergeDebugNativeLibs'.
> Could not resolve all files for configuration ':app:debugRuntimeClasspath'.
   > Could not find any matches for com.github.TelemetryDeck:KotlinSDK:+ as no versions of com.github.TelemetryDeck:KotlinSDK are available.
     Searched in the following locations:
       - https://dl.google.com/dl/android/maven2/com/github/TelemetryDeck/KotlinSDK/maven-metadata.xml
       - https://repo.maven.apache.org/maven2/com/github/TelemetryDeck/KotlinSDK/maven-metadata.xml
       - https://storage.googleapis.com/download.flutter.io/com/github/TelemetryDeck/KotlinSDK/maven-metadata.xml
     Required by:
         project :app > project :telemetrydecksdk

And when I add maven { url 'https://jitpack.io' } to build.gradle I get the following:


* What went wrong:
Execution failed for task ':app:mergeDebugNativeLibs'.
> Could not resolve all files for configuration ':app:debugRuntimeClasspath'.
   > Could not resolve com.github.TelemetryDeck:KotlinSDK:+.
     Required by:
         project :app > project :telemetrydecksdk
      > Could not resolve com.github.TelemetryDeck:KotlinSDK:2.0.1.
         > Could not get resource 'https://jitpack.io/com/github/TelemetryDeck/KotlinSDK/2.0.1/KotlinSDK-2.0.1.module'.
            > Could not GET 'https://jitpack.io/com/github/TelemetryDeck/KotlinSDK/2.0.1/KotlinSDK-2.0.1.module'.
               > Read timed out```

All Android signals are always send with "testMode=true" while iOS works fine

Hey,
I just discovered all my Android signals from my app were put in my "in testing" dashboard, while all iOS signals are correctly displayed in the production board.

iOS:
image

Android:
image

Any idea why?
My implementation looks as follows for both - Android and iOS:

Telemetrydecksdk.start(
      TelemetryManagerConfiguration(
        appID: Config.TELEMETRYDECK_APP_ID,
        testMode: flavor == AppFlavor.dev,
        debug: kDebugMode,
      ),
);

The correct value for testMode is definitely set when sending, I double checked this.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.