Official Flutter Tracking Library for Mixpanel Analytics

Overview
Mixpanel Flutter SDK

Table of Contents

Introduction

Welcome to the official Mixpanel Flutter SDK. The Mixpanel Flutter SDK is an open-source project, and we'd love to see your contributions! We'd also love for you to come and work with us! Check out Jobs for details

Quick Start Guide

Check out our official documentation for more in depth information on installing and using Mixpanel on Flutter.

1. Install Mixpanel

Prerequisites

Steps

  1. Depend on it
    Add this to your package's pubspec.yaml file:
   dependencies:
      mixpanel_flutter: ^1.0.0 # set this to your desired version
  1. Install it
    You can install packages from the command line:
   $ flutter pub get
  1. Import it
    Now in your Dart code, you can use:
import 'package:mixpanel_flutter/mixpanel_flutter.dart';

2. Initialize Mixpanel

To start tracking with the SDK you must first initialize with your project token. To initialize the SDK, first add import 'package:mixpanel_flutter/mixpanel_flutter.dart'; and call Mixpanel.init(token); with your project token as it's argument. You can find your token in project settings.

import 'package:mixpanel_flutter/mixpanel_flutter.dart';
...
class _YourClassState extends State<YourClass> {
  Mixpanel mixpanel;

  @override
  void initState() {
    super.initState();
    initMixpanel();
  }

  Future<void> initMixpanel() async {
    mixpanel = await Mixpanel.init("Your Mixpanel Token", optOutTrackingDefault: false);
  }
...

Once you've called this method once, you can access mixpanel throughout the rest of your application.

3. Send Data

Once you've initialized the SDK, Mixpanel will automatically collect common mobile events. You can enable/disable automatic collection through your project settings. With the mixpanel object created in the last step a call to track is all you need to send additional events to Mixpanel.

// Track with event-name
mixpanel.track('Sent Message');
// Track with event-name and property
mixpanel.track('Plan Selected', properties: {'Plan': 'Premium'});

You're done! You've successfully integrated the Mixpanel Flutter SDK into your app. To stay up to speed on important SDK releases and updates, star or watch our repository on Github.

4. Check for Success

Open up Live View in Mixpanel to view incoming events. Once data hits our API, it generally takes ~60 seconds for it to be processed, stored, and queryable in your project.

FAQ

I want to stop tracking an event/event property in Mixpanel. Is that possible?

Yes, in Lexicon, you can intercept and drop incoming events or properties. Mixpanel won’t store any new data for the event or property you select to drop. See this article for more information.

I have a test user I would like to opt out of tracking. How do I do that?

Mixpanel’s client-side tracking library contains the optOutTracking() method, which will set the user’s local opt-out state to “true” and will prevent data from being sent from a user’s device. More detailed instructions can be found in the section, Opting users out of tracking.

Why aren't my events showing up?

To preserve battery life and customer bandwidth, the Mixpanel library doesn't send the events you record immediately. Instead, it sends batches to the Mixpanel servers every 60 seconds while your application is running, as well as when the application transitions to the background. You can call flush() manually if you want to force a flush at a particular moment.

mixpanel.flush();

If your events are still not showing up after 60 seconds, check if you have opted out of tracking. You can also enable Mixpanel debugging and logging, it allows you to see the debug output from the Mixpanel library. To enable it, call setLoggingEnabled to true, then run your iOS project with Xcode or android project with Android Studio. The logs should be available in the console.

mixpanel.setLoggingEnabled(true);

Starting with iOS 14.5, do I need to request the user’s permission through the AppTrackingTransparency framework to use Mixpanel?

No, Mixpanel does not use IDFA so it does not require user permission through the AppTrackingTransparency(ATT) framework.

If I use Mixpanel, how do I answer app privacy questions for the App Store?

Please refer to our Apple App Developer Privacy Guidance

I want to know more!

No worries, here are some links that you will find useful:

Have any questions? Reach out to Mixpanel Support to speak to someone smart, quickly.

Comments
  • Mixpanel is breaking Flutter app for ios

    Mixpanel is breaking Flutter app for ios

    Whenever we turn off internet via Mobile data in iOS, Mixpanel is crashing application.

    How to reproduce:

    1. Implement Mixpanel flutter plugin
    2. Run app in iPhone
    3. Turn off Wifi
    4. Turn off mobile data

    No stack trace found!

    opened by viveky259259 15
  • Why events tracked on IOS are not show on 'Live View' list?

    Why events tracked on IOS are not show on 'Live View' list?

    hi, i've got a problem while setting up mixpanel-flutter into my project. Events tracked on IOS not being recorded by Mixpanel, meanwhile it is recorded well on android. Is this a known issue? What should i do? Thank you!

    i use mixpanel_flutter ^1.0.0 and here's my flutter doctor:

    [✓] Flutter (Channel unknown, 2.0.3, on macOS 11.4 20F71 darwin-x64, locale en-ID)
    [✓] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
    [✓] Xcode - develop for iOS and macOS
    [✓] Chrome - develop for the web
    [✓] Android Studio (version 4.1)
    [✓] IntelliJ IDEA Community Edition (version 2021.1.2)
    [✓] VS Code (version 1.57.0)
    

    here's the result on Live View menu: Screen Shot 2021-06-28 at 12 56 48

    only Android on the list, no IOS even though i already did trigger event on IOS.

    opened by istidanaharjanti 10
  • iOS crash when called init with optOutTrackingDefault: true

    iOS crash when called init with optOutTrackingDefault: true

    When calling on iOS there is a crash. Library version 1.0.1 await Mixpanel.init('token', optOutTrackingDefault: true);

    Assertion failed: You have to call initialize(token:) before calling the main instance, or define a new main instance if removing the main one: file Mixpanel/Mixpanel.swift, line 105

    opened by kirill09 10
  • Mixpanel track event > track(String, Map<String, dynamic>) function have issue. Kindly correct it. Added the solution.

    Mixpanel track event > track(String, Map) function have issue. Kindly correct it. Added the solution.

    Hi Mixpanel Team,

    instead of this void track(String eventName, {Map<String, dynamic>?} properties) {

    it should be function - void track(String eventName, Map<String, dynamic>? properties) {

    I've attached the screenshot and changed it in my project. please do change the plugin as well.

    Screenshot 2022-04-25 at 5 32 29 PM
    opened by akshayindia 7
  • How to set user name, email & other details ?

    How to set user name, email & other details ?

    image

    Through identity "mixpanel.identify("13791");" we can create a user how to add name, email & other properties which marked in the screen shot

    opened by SaravanarajaGITHUB 7
  • Events are not shown in the dashboad for iOS

    Events are not shown in the dashboad for iOS

    We are facing a problem with events tracking for iOS Devices. Sometimes it is shown in the events dashboard and sometimes it does not. In Android devices, events are successfully getting tracked and shown in the dashboard immediately (After 60 seconds).

    This happens with the example (https://github.com/mixpanel/mixpanel-flutter/tree/main/example) provided in the repository. In the debug logging mode, it gives a success response "Row inserted successfully in Mixpanel" but it does not show in the dashboard.

    iOS Version: 14.6, 14.7 iPhone 6s, 7, X and 12

    Not sure, what am I missing over here?

    Thanks!

    opened by chintankotadia 5
  • Null safety migration

    Null safety migration

    @zihejia hi, with recent dart 2.12 and flutter 2.0 releases are there any plans for migration to null safety? I'd be happy to open a PR for null safety if it isn't already in the works.

    enhancement 
    opened by incendial 5
  • [web] mixpanel_flutter for web doesn't implement 'setServerURL'

    [web] mixpanel_flutter for web doesn't implement 'setServerURL'

    Hey Guys,

    We've a mobile app and will now make it a web app. We are using mixpanel flawlessly both in iOS and android using this package.

    Our mixpanel project is in europe thus we need to call _mixpanel.setServerURL('https://api-eu.mixpanel.com');. Is this something you could easily solve?

    Thanks in advance!

    opened by tgpsantos 3
  • People.identify is not exposed

    People.identify is not exposed

    https://developer.mixpanel.com/docs/android#identify The Mixpanel documentation states:

    To assign your own distinct_ids, you can use MixpanelAPI.identify and MixpanelAPI.getPeople().identify. We strongly recommend using the same distinct id for both calls.

    It looks like People.identify() is not exposed in the Flutter package. Is there some way to accomplish this?

    opened by doppio 3
  • App crash on init

    App crash on init

    Added Mixpanel to the project. All looked fine for first the first week, but randomly it got into some state and keeps crashing every time I start the app.

    I cannot give you any smart info. I'm not sure why it started happening. I am wondering why is jacocoInit called in the production, as Jacoco is test coverage tool and should never be shipped with SDK or called for any functionality of SDK.

    App reinstall didn't help.

    We don't want to ship app with Mixpanel if this can happen in prod. Do you maybe know what is going on?

     java.lang.NoClassDefFoundError: Failed resolution of: Lorg/jacoco/agent/rt/internal_8ff85ea/Offline;
    E/AndroidRuntime( 8706): 	at com.mixpanel.android.mpmetrics.MixpanelAPI.$jacocoInit(Unknown Source:13)
    E/AndroidRuntime( 8706): 	at com.mixpanel.android.mpmetrics.MixpanelAPI.<clinit>(Unknown Source:0)
    E/AndroidRuntime( 8706): 	at com.mixpanel.android.mpmetrics.MixpanelAPI.getInstance(Unknown Source:0)
    E/AndroidRuntime( 8706): 	at com.mixpanel.mixpanel_flutter.MixpanelFlutterPlugin.handleInitialize(MixpanelFlutterPlugin.java:200)
    E/AndroidRuntime( 8706): 	at com.mixpanel.mixpanel_flutter.MixpanelFlutterPlugin.onMethodCall(MixpanelFlutterPlugin.java:57)
    E/AndroidRuntime( 8706): 	at io.flutter.plugin.common.MethodChannel$IncomingMethodCallHandler.onMessage(MethodChannel.java:233)
    E/AndroidRuntime( 8706): 	at io.flutter.embedding.engine.dart.DartMessenger.handleMessageFromDart(DartMessenger.java:85)
    E/AndroidRuntime( 8706): 	at io.flutter.embedding.engine.FlutterJNI.handlePlatformMessage(FlutterJNI.java:818)
    E/AndroidRuntime( 8706): 	at android.os.MessageQueue.nativePollOnce(Native Method)
    E/AndroidRuntime( 8706): 	at android.os.MessageQueue.next(MessageQueue.java:335)
    E/AndroidRuntime( 8706): 	at android.os.Looper.loop(Looper.java:183)
    E/AndroidRuntime( 8706): 	at android.app.ActivityThread.main(ActivityThread.java:7656)
    E/AndroidRuntime( 8706): 	at java.lang.reflect.Method.invoke(Native Method)
    E/AndroidRuntime( 8706): 	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:592)
    E/AndroidRuntime( 8706): 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:947)
    E/AndroidRuntime( 8706): Caused by: java.lang.ClassNotFoundException: Didn't find class "org.jacoco.agent.rt.internal_8ff85ea.Offline" on path: DexPathList[[zip file "/data/app/~~dq_vkkkHt5VvFPJsBwHICg==/com.infinum.modra.dev-GIYqXYbCIicC5pCeyCS8LA==/base.apk"],nativeLibraryDirectories=[/data/app/~~dq_vkkkHt5VvFPJsBwHICg==/com.infinum.modra.dev-GIYqXYbCIicC5pCeyCS8LA==/lib/x86, /data/app/~~dq_vkkkHt5VvFPJsBwHICg==/com.infinum.modra.dev-GIYqXYbCIicC5pCeyCS8LA==/base.apk!/lib/x86, /system/lib, /system_ext/lib]]
    E/AndroidRuntime( 8706): 	at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:207)
    E/AndroidRuntime( 8706): 	at java.lang.ClassLoader.loadClass(ClassLoader.java:379)
    E/AndroidRuntime( 8706): 	at java.lang.ClassLoader.loadClass(ClassLoader.java:312)
    
    opened by itsJoKr 3
  • Mixpanel in iOS

    Mixpanel in iOS

    Hi guys.

    I'm getting this error when trying to run pod install in Flutter:

    pod install
    Analyzing dependencies
    [!] CocoaPods could not find compatible versions for pod "Mixpanel-swift":
      In Podfile:
        mixpanel_flutter (from `.symlinks/plugins/mixpanel_flutter/ios`) was resolved to 1.5.1, which depends on
          Mixpanel-swift (= 3.2.6)
    
    None of your spec sources contain a spec satisfying the dependency: `Mixpanel-swift (= 3.2.6)`.
    
    You have either:
     * out-of-date source repos which you can update with `pod repo update` or with `pod install --repo-update`.
     * mistyped the name or version.
     * not added the source repo that hosts the Podspec to your Podfile.
    

    Do you know how to solve it?

    mixpanel_flutter: 1.5.1 Machine: Macbook PRO M1

    opened by ajoseerazo 2
  • [iOS][.getPeople().increment(prop,by)] is causing duplicated events to Mixpanel

    [iOS][.getPeople().increment(prop,by)] is causing duplicated events to Mixpanel

    The increment method is causing duplicated events, sometimes the increment adds two lines to the table causing duplicated values on Mixpanel, this issue can't be reproduced all the time, and it is complicated to understand the reason for this issue, but I've confirmed that the increment was called once but this sends the event twice to the Mixpanel, and after the first time this continue happening until disposing of the Mixpanel. I'm sending the log below. This only happens on iOS.

    [Mixpanel - MPDB.swift - func insertRow(_:data:flag:)] (info) - Successfully inserted row into table mixpanel_aa22261a7a330f49ba71528c2d6efb85_events
    [Mixpanel - MPDB.swift - func insertRow(_:data:flag:)] (info) - Successfully inserted row into table mixpanel_aa22261a7a330f49ba71528c2d6efb85_people
    [Mixpanel - MPDB.swift - func insertRow(_:data:flag:)] (info) - Successfully inserted row into table mixpanel_aa22261a7a330f49ba71528c2d6efb85_people
    [Mixpanel - MPDB.swift - func readRows(_:numRows:flag:)] (info) - Successfully read 1 from table mixpanel_aa22261a7a330f49ba71528c2d6efb85_events
    [Mixpanel - MPDB.swift - func readRows(_:numRows:flag:)] (info) - Successfully read 2 from table mixpanel_aa22261a7a330f49ba71528c2d6efb85_people
    [Mixpanel - Flush.swift - func flushQueueInBatches(_:type:)] (debug) - Sending batch of data
    [Mixpanel - Flush.swift - func flushQueueInBatches(_:type:)] (debug) - [["event": $ae_session, "id": 4343, "properties": {
        "$ae_session_length" = "1704.6";
        "$app_build_number" = 1;
        "$app_version_string" = "2.0.0";
        "$carrier" = "";
        "$device_id" = "BF7CF7F2-4B19-420B-8429-04C4AD0B4A29";
        "$had_persisted_distinct_id" = 1;
        "$lib_version" = "1.6.0";
        "$manufacturer" = Apple;
        "$model" = "iPhone11,8";
        "$os" = iOS;
        "$os_version" = "14.4";
        "$radio" = None;
        "$screen_height" = 896;
        "$screen_width" = 414;
        "$user_id" = ce83592af987ae32ad16be57c866dcdbd2a4cc99e1f4c9a4e7db74abf73cfff0;
        "$wifi" = 1;
        "distinct_id" = ce83592af987ae32ad16be57c866dcdbd2a4cc99e1f4c9a4e7db74abf73cfff0;
        "mp_lib" = flutter;
        time = 1665523193507;
        token = aa22261a7a330f49ba71528c2d6efb85;
    }, "$mp_metadata": {
        "$mp_event_id" = 3f3f84bb0baf09aa;
        "$mp_session_id" = 498479da57420e1c;
        "$mp_session_seq_id" = 296;
        "$mp_session_start_sec" = 0;
    }]]
    [Mixpanel - Network.swift - func buildURLRequest(_:resource:)] (debug) - Fetching URL
    [Mixpanel - Network.swift - func buildURLRequest(_:resource:)] (debug) - https://api.mixpanel.com/track/?ip=1
    [Mixpanel - MixpanelInstance.swift - func loggingEnabled] (info) - Logging Enabled
    [Mixpanel - MPDB.swift - func insertRow(_:data:flag:)] (info) - Successfully inserted row into table mixpanel_aa22261a7a330f49ba71528c2d6efb85_people
    [Mixpanel - Flush.swift - func flushQueueInBatches(_:type:)] (debug) - Sending batch of data
    [Mixpanel - Flush.swift - func flushQueueInBatches(_:type:)] (debug) - [["$add": {
        "$ae_total_app_sessions" = 1;
    }, "id": 3171, "$token": aa22261a7a330f49ba71528c2d6efb85, "$had_persisted_distinct_id": 1, "$mp_metadata": {
        "$mp_event_id" = 0f0736c0efce4a78;
        "$mp_session_id" = 498479da57420e1c;
        "$mp_session_seq_id" = 47;
        "$mp_session_start_sec" = 0;
    }, "$device_id": BF7CF7F2-4B19-420B-8429-04C4AD0B4A29, "$distinct_id": "ce83592af987ae32ad16be57c866dcdbd2a4cc99e1f4c9a4e7db74abf73cfff0", "$time": 1665523193507, "$user_id": ce83592af987ae32ad16be57c866dcdbd2a4cc99e1f4c9a4e7db74abf73cfff0], ["$add": {
        "$ae_total_app_session_length" = "1704.6";
    }, "id": 3172, "$token": aa22261a7a330f49ba71528c2d6efb85, "$had_persisted_distinct_id": 1, "$mp_metadata": {
        "$mp_event_id" = 660a8807bab07f66;
        "$mp_session_id" = 498479da57420e1c;
        "$mp_session_seq_id" = 48;
        "$mp_session_start_sec" = 0;
    }, "$device_id": BF7CF7F2-4B19-420B-8429-04C4AD0B4A29, "$distinct_id": "ce83592af987ae32ad16be57c866dcdbd2a4cc99e1f4c9a4e7db74abf73cfff0", "$time": 1665523193507, "$user_id": ce83592af987ae32ad16be57c866dcdbd2a4cc99e1f4c9a4e7db74abf73cfff0]]
    [Mixpanel - Network.swift - func buildURLRequest(_:resource:)] (debug) - Fetching URL
    [Mixpanel - Network.swift - func buildURLRequest(_:resource:)] (debug) - https://api.mixpanel.com/engage/?ip=1
    [Mixpanel - MPDB.swift - func deleteRows(_:ids:isDeleteAll:)] (info) - Succesfully deleted rows from table mixpanel_aa22261a7a330f49ba71528c2d6efb85_events
    [Mixpanel - MPDB.swift - func deleteRows(_:ids:isDeleteAll:)] (info) - Succesfully deleted rows from table mixpanel_aa22261a7a330f49ba71528c2d6efb85_people
    [Mixpanel - MPDB.swift - func readRows(_:numRows:flag:)] (info) - Successfully read 1 from table mixpanel_aa22261a7a330f49ba71528c2d6efb85_people
    [Mixpanel - Flush.swift - func flushQueueInBatches(_:type:)] (debug) - Sending batch of data
    [Mixpanel - Flush.swift - func flushQueueInBatches(_:type:)] (debug) - [["$had_persisted_distinct_id": 1, "$time": 1665523193649, "$set": {
        "$ios_app_release" = "2.0.0";
        "$ios_app_version" = 1;
        "$ios_device_model" = "iPhone11,8";
        "$ios_lib_version" = "3.3.0";
        "$ios_version" = "14.4";
        "$lib_version" = "1.6.0";
        "$swift_lib_version" = "3.3.0";
        "Last app open" = "2022-10-11T18:19:53.507667";
        "mp_lib" = flutter;
    }, "$device_id": BF7CF7F2-4B19-420B-8429-04C4AD0B4A29, "$user_id": ce83592af987ae32ad16be57c866dcdbd2a4cc99e1f4c9a4e7db74abf73cfff0, "$mp_metadata": {
        "$mp_event_id" = a3fe39a363616b7d;
        "$mp_session_id" = 498479da57420e1c;
        "$mp_session_seq_id" = 49;
        "$mp_session_start_sec" = 0;
    }, "id": 3173, "$distinct_id": "ce83592af987ae32ad16be57c866dcdbd2a4cc99e1f4c9a4e7db74abf73cfff0", "$token": aa22261a7a330f49ba71528c2d6efb85]]
    [Mixpanel - Network.swift - func buildURLRequest(_:resource:)] (debug) - Fetching URL
    [Mixpanel - Network.swift - func buildURLRequest(_:resource:)] (debug) - https://api.mixpanel.com/engage/?ip=1
    [Mixpanel - MPDB.swift - func deleteRows(_:ids:isDeleteAll:)] (info) - Succesfully deleted rows from table mixpanel_aa22261a7a330f49ba71528c2d6efb85_people
    Lost connection to device.
    Exited
    
    opened by arctouch-renancoelho 0
  • Uncaught MissingPluginException after deploying web version

    Uncaught MissingPluginException after deploying web version

    Hi guys, I was using mixpanel in flutter web. When I am testing it in local, it is working fine but when I deployed it on firebase hosting, it started throwing error on Mixpanel.init() with the error "Uncaught MissingPluginException(No implementation found for method initialize on channel mixpanel_flutter)" & causing the app not be load. So please check this as it is blocking our release.

    opened by tejHackerDEV 1
  • Issue with adblocker

    Issue with adblocker

    The uBlock origin adblocker by default will prevent downloading of ./assets/packages/mixpanel_flutter/assets/mixpanel.js which in turn will make the app not start.

    Is there any workaround for this?

    opened by itsJoKr 1
  • Mac m2 not run Mixpanel-swift

    Mac m2 not run Mixpanel-swift

    update CDN: trunk Relative path: all_pods_versions_f_4_e.txt exists! Returning local because checking is only performed in repo update CDN: trunk Relative path: Specs/f/4/e/FMDB/2.7.5/FMDB.podspec.json exists! Returning local because checking is only performed in repo update CDN: trunk Relative path: all_pods_versions_2_d_e.txt exists! Returning local because checking is only performed in repo update CDN: trunk Relative path: Specs/2/d/e/Mixpanel-swift/4.0.0/Mixpanel-swift.podspec.json exists! Returning local because checking is only performed in repo update [!] CocoaPods could not find compatible versions for pod "Mixpanel-swift": In Podfile: mixpanel_flutter (from .symlinks/plugins/mixpanel_flutter/ios) was resolved to 2.0.0, which depends on Mixpanel-swift (= 4.0.1)

    None of your spec sources contain a spec satisfying the dependency: `Mixpanel-swift (= 4.0.1)`.
    
    You have either:
     * out-of-date source repos which you can update with `pod repo update` or with `pod install --repo-update`.
     * mistyped the name or version.
     * not added the source repo that hosts the Podspec to your Podfile.
    
    /Library/Ruby/Gems/2.6.0/gems/molinillo-0.8.0/lib/molinillo/resolution.rb:317:in `raise_error_unless_state'
    /Library/Ruby/Gems/2.6.0/gems/molinillo-0.8.0/lib/molinillo/resolution.rb:299:in `block in unwind_for_conflict'
    /Library/Ruby/Gems/2.6.0/gems/molinillo-0.8.0/lib/molinillo/resolution.rb:297:in `tap'
    /Library/Ruby/Gems/2.6.0/gems/molinillo-0.8.0/lib/molinillo/resolution.rb:297:in `unwind_for_conflict'
    /Library/Ruby/Gems/2.6.0/gems/molinillo-0.8.0/lib/molinillo/resolution.rb:257:in `process_topmost_state'
    /Library/Ruby/Gems/2.6.0/gems/molinillo-0.8.0/lib/molinillo/resolution.rb:182:in `resolve'
    /Library/Ruby/Gems/2.6.0/gems/molinillo-0.8.0/lib/molinillo/resolver.rb:43:in `resolve'
    /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.11.3/lib/cocoapods/resolver.rb:94:in `resolve'
    /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.11.3/lib/cocoapods/installer/analyzer.rb:1078:in `block in resolve_dependencies'
    /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.11.3/lib/cocoapods/user_interface.rb:64:in `section'
    /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.11.3/lib/cocoapods/installer/analyzer.rb:1076:in `resolve_dependencies'
    /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.11.3/lib/cocoapods/installer/analyzer.rb:124:in `analyze'
    /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.11.3/lib/cocoapods/installer.rb:416:in `analyze'
    /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.11.3/lib/cocoapods/installer.rb:241:in `block in resolve_dependencies'
    /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.11.3/lib/cocoapods/user_interface.rb:64:in `section'
    /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.11.3/lib/cocoapods/installer.rb:240:in `resolve_dependencies'
    /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.11.3/lib/cocoapods/installer.rb:161:in `install!'
    /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.11.3/lib/cocoapods/command/install.rb:52:in `run'
    /Library/Ruby/Gems/2.6.0/gems/claide-1.1.0/lib/claide/command.rb:334:in `run'
    /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.11.3/lib/cocoapods/command.rb:52:in `run'
    /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.11.3/bin/pod:55:in `<top (required)>'
    /usr/local/bin/pod:23:in `load'
    /usr/local/bin/pod:23:in `<main>'
    

    Error: CocoaPods's specs repository is too out-of-date to satisfy dependencies. To update the CocoaPods specs, run: pod repo update

    Error running pod install Error launching application on iPhone 11.

    opened by Osmancn 1
  • 2.0.0 compile error. instanceName argument order.

    2.0.0 compile error. instanceName argument order.

    Running into an issue building:

    Swift Compiler Error (Xcode): Argument 'instanceName' must precede argument 'trackAutomaticEvents' /Users/justinzaun/.pub-cache/hosted/pub.dartlang.org/mixpanel_flutter-2.0.0/ios/Classes/SwiftMixpanelFlutterPlugin.swift:159:40

    Swift Compiler Error (Xcode): Argument 'instanceName' must precede argument 'trackAutomaticEvents' /Users/justinzaun/.pub-cache/hosted/pub.dartlang.org/mixpanel_flutter-2.0.0/ios/Classes/SwiftMixpanelFlutterPlugin.swift:174:102

    Uncategorized (Xcode): Command CompileSwiftSources failed with a nonzero exit code

    Could not build the application for the simulator. Error launching application on iPhone 13 Pro.

    Pubspec.yaml: mixpanel_flutter: ^2.0.0

    Flutter 3.0.5 • channel stable • https://github.com/flutter/flutter.git Framework • revision f1875d570e (10 weeks ago) • 2022-07-13 11:24:16 -0700 Engine • revision e85ea0e79c Tools • Dart 2.17.6 • DevTools 2.12.2

    Running on an Apple M1 Pro.

    opened by JZ-at-TP 1
Releases(v2.0.0)
Owner
Mixpanel, Inc
Powerful, self-serve product analytics to help you convert, engage, and retain more users.
Mixpanel, Inc
Raden Saleh 20 Aug 12, 2023
Software analytics tool that helps developers analyse and improve software quality.

Dart Code Metrics Note: you can find the full documentation on the website Configuration | Rules | Metrics | Anti-patterns Dart Code Metrics is a stat

Dart Code Checker 745 Dec 26, 2022
Dart code generator for helping with (firebase) analytics.

analytics_events_gen An easy generator for tracking firebase analytics events via type safe methods. Add to pubspec.yaml Check pub for the latest vers

Herbert Poul 2 Nov 16, 2022
A mobile wallet, that keeps track of a user's spending with analytics.

credit_clan_task A mobile wallet, that keeps track of a user's spending with analytics. Getting Started This project is a task assigned by Credit clan

Godson 2 Apr 30, 2022
A powerful official extension library of Tab/TabBar/TabView, which support to scroll ancestor or child Tabs when current is overscroll, and set scroll direction and cache extent.

extended_tabs Language: English | 中文简体 A powerful official extension library of Tab/TabBar/TabView, which support to scroll ancestor or child Tabs whe

FlutterCandies 185 Dec 13, 2022
This is a beautiful stocks tracking app, developed using Flutter.

Stocks Tracker App This is a beautiful stocks tracking app, developed using Flutter. Features Track any stock in BSE Search from any availble stock Be

Hash Studios 8 Dec 27, 2022
A basic cryptocurrency price-tracking application using flutter

CoiCoin Cryto Tracker - Demo Product This is a basic cryptocurrency price-tracking application to the Demo Product on Google DevFest HCMC 2021. Google

Đỗ Trường Thịnh 2 Dec 9, 2021
Onehour-app - A time tracking app build using Flutter

Onehour A time tracking app build using Flutter Screens First Header Second Header Tech Stack Flutter Flutter Bloc with Hydrated Bloc Firebase Admob F

Fayeed Pawaskar 157 Nov 10, 2022
A fund tracking application built with Flutter.

Fund Tracker A flutter application for budgets and keeping track of transactions. I built this because I couldn't find any application that allowed a

Andrew An 42 Sep 29, 2022
It's an open source project for the steps tracking (Pedometer) built with Flutter.

Flutter Steps Tracker It's an open source project for the steps tracking (Pedometer) built with Flutter and integrated with Firebase as the initial ba

Tarek Alabd 56 Nov 5, 2022
A digital diary and mood tracking app that helps you in keeping track of your mood and productivity throughout the month/year.

StarBook ✨ A digital diary that can help you in keeping track of your mood and productivity throughout the month. Mood tracker is a good way to see ho

Hashir Shoaib 73 Dec 23, 2022
App for tracking your expenses

Expense Manager App for tracking your expenses Purpose of the project This app may help people to control their spendings. My task was to create custo

Maksym Koriak 4 Mar 13, 2022
Cross-platform mobile app for tracking GPS with IoT technologies.

IoT Tracking Cross-platform mobile app for tracking GPS with IoT technologies. Table of Contents Introduction Requirements Installation Build & Run Kn

0xShikYe 4 Oct 2, 2022
Keep tracking your prayers.

تطبيق قضاء Keep tracking your prayers. مميزات التطبيق v1.0.0 سهولة وبساطة الواجهة. مجاني وخال من الاعلانات ومفتوح المصدر. اشعارات محفزة عند قضاء كل يو

null 24 Dec 30, 2022
A fully-customizable weightlifting tracking app.

BlockLifts Weightlifting App A fully-customizable weightlifting tracking app and my introduction to Dart/Flutter. Features Create an unlimited amount

Jake 2 Jan 9, 2023
Fitness Tracking App UI

Fitness Tracking App UI Support me on Patreon Watch on Youtube A new Flutter project. Getting Started This project is a starting point for a Flutter a

Syed Abdullah 11 Oct 27, 2022
A finance app tracking financial inventory.

flutter_fintech A Fintech App that keeps track of your personal Finances Getting Started Clone or Fork this project if you're seeking to learn how to

Chocolate Victor 7 Dec 29, 2022
Stream Chat official Flutter SDK. Build your own chat experience using Dart and Flutter.

Official Flutter packages for Stream Chat Quick Links Register to get an API key for Stream Chat Flutter Chat SDK Tutorial Chat UI Kit Sample apps Thi

Stream 659 Dec 25, 2022
A collection of pixel-perfect iOS-styled components and properties for Flutter, following the official guidelines.

cupertinew ⚠️ Experimental and work in progress ⚠️ A collection of pixel-perfect iOS-styled components and properties for Flutter, following the offic

Jeroen Meijer (Jay) 30 Nov 10, 2022