* Add support for new UTC Privacy fieds: Privacy product and privacy data category.
* Update reference to modules to allow validation
* Revert "Update reference to modules to allow validation"
This reverts commit 429899176a.
* renaming folder to have different names for xcode and package sample
* adding sample package files
* adding dependencies for the onedswrapper
* removing tests file
* adding example for calling swift wrapper classes
* correcting readme file
* correcting readme file
* adding example app for swift wrappers
* linking required libs and setting build dependencies to build the project
* adding a readme file with details
* removing box specific files
* remove assets
* applying pr suggestions
* fixing a bug and correcting sample app projectclear
* correcting heading signature
* Replace hand-crafted to_string method with std::to_string.
* Get rid of PAL::to_string.
* Explicitly invoke std::string's c'tor with brace-initialization.
* adding swift wrapper
* moving files to sources
* moving files to proper places
* adding module for header expose and importing it in swift wrapper
* correcting files for build errors and other changes
* adding module for objc
* swift build passing'
* adding readme
* changing the package name to 1dsswiftwrapper
* changing target name
* adding pr suggestions
* adding build.sh changes
* cmake list file changes
* creating static lib
* adding swift wrappers build and linking
* adding more logic for building and producing sample app
* adding code for swiftc invoking
* adding comments
* adding change to create the sample app
* linking and includding modules in swiftc to build the sample exe: being created
* adding comments
* compiling all files frrom sample
* removing extraline
* correcting the output folder of swift build
* correcting build output folder paths
* adding typealias file to stop importing the objcmodule in clients (#1171)
* adding typealias file to stop importing the objcmodule in clients
* giving better names
* adding call to create logger
* adding changes for framework include
* adding fwks
* linking libs and fwks
* adding getter and setters for swift as computed properties
* adding sample app changes
* adding app changes
* adding commondatacontext
* swift build passing
* correcting common context init
* adding get set in event properties list
* adding getter to eventprops
* removing useless methods
* adding getter and setter for eventprops
* adding getter
* fixing type bug
* fixing main app issues
* adding semantic context variable to the logger
* modifying the access level for the objc types in swift to make sure they are not exposed to the lcient
* adding default constructor
* keeping main.swift clean
'
* correcting comment
* adding computed property for objc variable
---------
Co-authored-by: Lalit Kumar Bhasin <labhas@microsoft.com>
* adding swift wrapper
* moving files to sources
* moving files to proper places
* adding module for header expose and importing it in swift wrapper
* correcting files for build errors and other changes
* adding module for objc
* swift build passing'
* adding readme
* changing the package name to 1dsswiftwrapper
* changing target name
* adding pr suggestions
* adding build.sh changes
* cmake list file changes
* creating static lib
* adding swift wrappers build and linking
* adding more logic for building and producing sample app
* adding code for swiftc invoking
* adding comments
* adding change to create the sample app
* linking and includding modules in swiftc to build the sample exe: being created
* adding comments
* compiling all files frrom sample
* removing extraline
* correcting the output folder of swift build
* correcting build output folder paths
* adding typealias file to stop importing the objcmodule in clients (#1171)
* adding typealias file to stop importing the objcmodule in clients
* giving better names
---------
Co-authored-by: Lalit Kumar Bhasin <labhas@microsoft.com>
* Add const to locals which are only used in const contexts.
* Add const to member function.
---------
Co-authored-by: Lalit Kumar Bhasin <labhas@microsoft.com>
Co-authored-by: Tom Tan <lilotom@gmail.com>
* adding diagnostic wrapper for swift
* adding suggestions from pr
* making it final
* adding vars instead of methods
* correcting var
* fixing build issues
---------
Co-authored-by: Lalit Kumar Bhasin <labhas@microsoft.com>
* adding mgr and logger classes
* adding comment
* adding line at end
* adding pr suggestions
* adding pr suggestions
* changing file names
* adding suggestions from the pr comments
* adding suggestions from PR
* adding pr suggestions
* removing self from the instance references
* adding final to the logger class
* adding config class
* adding comment
* correcting the cmake min version
* adding checks for libs being linked in cmake
* correcting comments and args
* changing filename
* removing comment
* correcting the use of optional in swift wrapper
* marking class final
---------
* Expose the setTicketToken to jni and java layer for Android apps to set Tokens like AAD with the event
* Fix the fucntion call for jni
* Fixed comments
* adding local build script file for swift wrappers
* adding main file to test the swift logger classes
* adding build.sh and cmake file for swift wrappers ONLY build
* adding git ignore file
* correcting xcodebuild args
* removing comments
* adding EventProperties class, wrapper for properties in Swift along with other required files
* adding pr suggestions
* adding min version of cmake required to generate for swift
The way SQLite is initialized (synchronous=NORMAL config) introduces potential issues with durability of changes/updates in some corner cases.
iOS Outlook logs telemetry in scenarios where some critical validation/check failed and cannot be handled and process self-terminates. In between logging the event and terminating we call Flush() to avoid lost events. If we checkpoint the DB before returning from the Flush() call app can safely assume no events will be lost. This change introduces an option that enables such behavior.
Alternative solution would be to use the default configuration (with synchronous=FULL) which doesn't have that problem but has overhead of filesystem syncing for each transaction which makes it a bad idea from the perf point of view.