mirror of
https://github.com/status-im/realm-js.git
synced 2025-01-22 20:41:18 +00:00
Add Mixpanel property for JS VM
This commit is contained in:
parent
6c644067fd
commit
f059d57bf4
@ -31,6 +31,7 @@
|
||||
//
|
||||
// Currently the following information is reported:
|
||||
// - What kind of JavaScript framework is being used (e.g. React Native).
|
||||
// - What kind of JavaScript VM is being used (e.g. JavaScriptCore or V8).
|
||||
// - What version of Realm is being used, and from which language (obj-c or Swift).
|
||||
// - What version of OS X it's running on (in case Xcode aggressively drops
|
||||
// support for older versions again, we need to know what we need to support).
|
||||
|
@ -31,6 +31,7 @@
|
||||
//
|
||||
// Currently the following information is reported:
|
||||
// - What kind of JavaScript framework is being used (e.g. React Native).
|
||||
// - What kind of JavaScript VM is being used (e.g. JavaScriptCore or V8).
|
||||
// - What version of Realm is being used, and from which language (obj-c or Swift).
|
||||
// - What version of OS X it's running on (in case Xcode aggressively drops
|
||||
// support for older versions again, we need to know what we need to support).
|
||||
@ -185,6 +186,7 @@ static NSDictionary *RLMAnalyticsPayload() {
|
||||
@"Binding": @"js",
|
||||
@"Language": @"js",
|
||||
@"Framework": @"react-native",
|
||||
@"Virtual Machine": @"jsc",
|
||||
@"Realm Version": [[@(RealmReactVersionString) componentsSeparatedByString:@"-"] lastObject] ?: kUnknownString,
|
||||
#if TARGET_OS_MAC
|
||||
@"Target OS Type": @"osx",
|
||||
|
@ -42,6 +42,7 @@ import java.util.Set;
|
||||
//
|
||||
// Currently the following information is reported:
|
||||
// - What kind of JavaScript framework is being used (e.g. React Native)
|
||||
// - What kind of JavaScript VM is being used (e.g. JavaScriptCore or V8)
|
||||
// - What version of Realm is being used
|
||||
// - What OS you are running on
|
||||
// - An anonymized MAC address and bundle ID to aggregate the other information on.
|
||||
@ -63,7 +64,8 @@ public class RealmAnalytics {
|
||||
+ " \"Anonymized Bundle ID\": \"%APP_ID%\",\n"
|
||||
+ " \"Binding\": \"js\",\n"
|
||||
+ " \"Language\": \"js\",\n"
|
||||
+ " \"Framework\": \"react-native\","
|
||||
+ " \"Framework\": \"react-native\",\n"
|
||||
+ " \"Virtual Machine\": \"jsc\",\n"
|
||||
+ " \"Realm Version\": \"%REALM_VERSION%\",\n"
|
||||
+ " \"Host OS Type\": \"%OS_TYPE%\",\n"
|
||||
+ " \"Host OS Version\": \"%OS_VERSION%\",\n"
|
||||
|
Loading…
x
Reference in New Issue
Block a user