Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bring over Mixpanel-swift extension solution to Mixpanel-iPhone #688

Closed
cerupcat opened this issue Jun 19, 2017 · 8 comments
Closed

Bring over Mixpanel-swift extension solution to Mixpanel-iPhone #688

cerupcat opened this issue Jun 19, 2017 · 8 comments

Comments

@cerupcat
Copy link

The swift library has replaced references of UIApplication with its own implementation in order to have single podspec/API that will work for both extensions and the main app (required for cocoapods use_frameworks!). It'd be nice to bring over this solution to the mixpanel-iPhone project. mixpanel/mixpanel-swift@8552970

@pchien
Copy link
Contributor

pchien commented Jun 28, 2017

@cerupcat we'll definitely do this at some point.

@cerupcat
Copy link
Author

@pchien great! Just wanted to make sure it was on the radar. :)

@yagudaev
Copy link

Any news there? Would really like to track extension events using mixpanel :).

@yagudaev
Copy link

yagudaev commented Sep 24, 2017

Update: I was able to get things working using an app extension using

pod 'Mixpanel/AppExtension'

I had to comment out pod 'Mixpanel' on the main app target before I ran pod install, but after that, I was able to uncomment it and install again using pod install and all worked well.

See: #152

@pchien
Copy link
Contributor

pchien commented Sep 25, 2017

@yagudaev there's a PR for it #715. It'll go into the next release.

@emes
Copy link
Contributor

emes commented Oct 12, 2017

yay!

@pchien
Copy link
Contributor

pchien commented Oct 20, 2017

This has been released.

@pchien pchien closed this as completed Oct 20, 2017
@JoeFerrucci
Copy link

This thread is outdated.
The latest solution is to use pod 'Mixpanel-swift-appex' and can be referenced here:
mixpanel/mixpanel-swift#75 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants