File tree Expand file tree Collapse file tree 2 files changed +24
-0
lines changed Expand file tree Collapse file tree 2 files changed +24
-0
lines changed Original file line number Diff line number Diff line change @@ -99,6 +99,14 @@ void SetAnalyticsLibraryPath(const char* path) {
99
99
g_analytics_dll_filename = ANALYTICS_DLL_DEFAULT_FILENAME;
100
100
}
101
101
}
102
+
103
+ void SetAnalyticsLibraryPath (const wchar_t * path) {
104
+ if (path) {
105
+ g_analytics_dll_filename = path;
106
+ } else {
107
+ g_analytics_dll_filename = ANALYTICS_DLL_DEFAULT_FILENAME;
108
+ }
109
+ }
102
110
#endif
103
111
104
112
// Future data for analytics.
Original file line number Diff line number Diff line change @@ -591,6 +591,22 @@ Future<int64_t> GetSessionId();
591
591
// / app session.
592
592
Future<int64_t > GetSessionIdLastResult ();
593
593
594
+
595
+ #ifdef INTERNAL_EXPERIMENTAL
596
+ #if defined(_WIN32) || defined(DOXYGEN)
597
+ // / Windows only: Specify the path to the Google Analytics Windows DLL.
598
+ // /
599
+ // / @param path Path to the DLL, including filename, in UTF-8 format.
600
+ void SetAnalyticsLibraryPath (const char * path);
601
+
602
+ // / Windows only: Specify the path to the Google Analytics Windows DLL.
603
+ // /
604
+ // / @param path Path to the DLL, including filename, in UTF-16 format.
605
+ void SetAnalyticsLibraryPath (const wchar_t * path);
606
+ #endif
607
+ #endif
608
+
609
+
594
610
} // namespace analytics
595
611
} // namespace firebase
596
612
You can’t perform that action at this time.
0 commit comments