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) {
9999 g_analytics_dll_filename = ANALYTICS_DLL_DEFAULT_FILENAME;
100100 }
101101}
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+ }
102110#endif
103111
104112// Future data for analytics.
Original file line number Diff line number Diff line change @@ -591,6 +591,22 @@ Future<int64_t> GetSessionId();
591591// / app session.
592592Future<int64_t > GetSessionIdLastResult ();
593593
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+
594610} // namespace analytics
595611} // namespace firebase
596612
You can’t perform that action at this time.
0 commit comments