This repository has been archived by the owner on May 1, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 171
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Moved source folders to new location
- Loading branch information
SotoiGhost
committed
Jun 27, 2019
1 parent
c7d543d
commit 7c4555f
Showing
231 changed files
with
36,862 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,74 @@ | ||
using Foundation; | ||
using ObjCRuntime; | ||
|
||
namespace Firebase.ABTesting { | ||
// @interface FIRExperimentController : NSObject | ||
[DisableDefaultCtor] | ||
[BaseType (typeof (NSObject), Name = "FIRExperimentController")] | ||
interface ExperimentController { | ||
// +(FIRExperimentController * _Nonnull)sharedInstance; | ||
[Static] | ||
[Export ("sharedInstance")] | ||
ExperimentController SharedInstance { get; } | ||
|
||
// -(void)updateExperimentsWithServiceOrigin:(NSString * _Nonnull)origin events:(FIRLifecycleEvents * _Nonnull)events policy:(NSObject * _Nonnull)policy lastStartTime:(NSTimeInterval)lastStartTime payloads:(NSArray<NSData *> * _Nonnull)payloads; | ||
[Export ("updateExperimentsWithServiceOrigin:events:policy:lastStartTime:payloads:")] | ||
void UpdateExperiments (string origin, LifecycleEvents events, NSObject policy, double lastStartTime, NSData [] payloads); | ||
|
||
// -(NSTimeInterval)latestExperimentStartTimestampBetweenTimestamp:(NSTimeInterval)timestamp andPayloads:(NSArray<NSData *> * _Nonnull)payloads; | ||
[Export ("latestExperimentStartTimestampBetweenTimestamp:andPayloads:")] | ||
double GetLatestExperimentStartTimestampBetweenTimestamp (double timestamp, NSData [] payloads); | ||
} | ||
|
||
[Static] | ||
interface DefaultLifecycleEventNames { | ||
// extern NSString *const _Nonnull FIRSetExperimentEventName; | ||
[Field ("FIRSetExperimentEventName", "__Internal")] | ||
NSString SetExperiment { get; } | ||
|
||
// extern NSString *const _Nonnull FIRActivateExperimentEventName; | ||
[Field ("FIRActivateExperimentEventName", "__Internal")] | ||
NSString ActivateExperiment { get; } | ||
|
||
// extern NSString *const _Nonnull FIRClearExperimentEventName; | ||
[Field ("FIRClearExperimentEventName", "__Internal")] | ||
NSString ClearExperiment { get; } | ||
|
||
// extern NSString *const _Nonnull FIRTimeoutExperimentEventName; | ||
[Field ("FIRTimeoutExperimentEventName", "__Internal")] | ||
NSString TimeoutExperiment { get; } | ||
|
||
// extern NSString *const _Nonnull FIRExpireExperimentEventName; | ||
[Field ("FIRExpireExperimentEventName", "__Internal")] | ||
NSString ExpireExperiment { get; } | ||
} | ||
|
||
// @interface FIRLifecycleEvents : NSObject | ||
[BaseType (typeof (NSObject), Name = "FIRLifecycleEvents")] | ||
interface LifecycleEvents { | ||
// @property (copy, nonatomic) NSString * _Nonnull setExperimentEventName; | ||
[Advice ("You can use the default event name 'DefaultLifecycleEventNames.SetExperiment'.")] | ||
[Export ("setExperimentEventName", ArgumentSemantic = ArgumentSemantic.Copy)] | ||
NSString SetExperimentEventName { get; set; } | ||
|
||
// @property (copy, nonatomic) NSString * _Nonnull activateExperimentEventName; | ||
[Advice ("You can use the default event name 'DefaultLifecycleEventNames.ActivateExperiment'.")] | ||
[Export ("activateExperimentEventName", ArgumentSemantic = ArgumentSemantic.Copy)] | ||
NSString ActivateExperimentEventName { get; set; } | ||
|
||
// @property (copy, nonatomic) NSString * _Nonnull clearExperimentEventName; | ||
[Advice ("You can use the default event name 'DefaultLifecycleEventNames.ClearExperiment'.")] | ||
[Export ("clearExperimentEventName", ArgumentSemantic = ArgumentSemantic.Copy)] | ||
NSString ClearExperimentEventName { get; set; } | ||
|
||
// @property (copy, nonatomic) NSString * _Nonnull timeoutExperimentEventName; | ||
[Advice ("You can use the default event name 'DefaultLifecycleEventNames.TimeoutExperiment'.")] | ||
[Export ("timeoutExperimentEventName", ArgumentSemantic = ArgumentSemantic.Copy)] | ||
NSString TimeoutExperimentEventName { get; set; } | ||
|
||
// @property (copy, nonatomic) NSString * _Nonnull expireExperimentEventName; | ||
[Advice ("You can use the default event name 'DefaultLifecycleEventNames.ExpireExperiment'.")] | ||
[Export ("expireExperimentEventName", ArgumentSemantic = ArgumentSemantic.Copy)] | ||
NSString ExpireExperimentEventName { get; set; } | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,62 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | ||
<PropertyGroup> | ||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> | ||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> | ||
<ProjectGuid>{DC604F3B-B755-4697-AB9A-CAFF451D2CB7}</ProjectGuid> | ||
<ProjectTypeGuids>{8FFB629D-F513-41CE-95D2-7ECE97B6EEEC};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids> | ||
<OutputType>Library</OutputType> | ||
<RootNamespace>Firebase.ABTesting</RootNamespace> | ||
<AssemblyName>Firebase.ABTesting</AssemblyName> | ||
<IPhoneResourcePrefix>Resources</IPhoneResourcePrefix> | ||
</PropertyGroup> | ||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> | ||
<DebugSymbols>true</DebugSymbols> | ||
<DebugType>full</DebugType> | ||
<Optimize>false</Optimize> | ||
<OutputPath>bin\Debug</OutputPath> | ||
<DefineConstants>DEBUG;</DefineConstants> | ||
<ErrorReport>prompt</ErrorReport> | ||
<WarningLevel>4</WarningLevel> | ||
<AllowUnsafeBlocks>true</AllowUnsafeBlocks> | ||
</PropertyGroup> | ||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "> | ||
<Optimize>true</Optimize> | ||
<OutputPath>bin\Release</OutputPath> | ||
<ErrorReport>prompt</ErrorReport> | ||
<WarningLevel>4</WarningLevel> | ||
<AllowUnsafeBlocks>true</AllowUnsafeBlocks> | ||
</PropertyGroup> | ||
<ItemGroup> | ||
<Reference Include="System" /> | ||
<Reference Include="Xamarin.iOS" /> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<Compile Include="Properties\AssemblyInfo.cs" /> | ||
<Compile Include="Loader.cs" /> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<ObjcBindingApiDefinition Include="ApiDefinition.cs" /> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<ObjcBindingCoreSource Include="Structs.cs" /> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<ProjectReference Include="..\..\..\Firebase.InstanceID\source\Firebase.InstanceID\Firebase.InstanceID.csproj"> | ||
<Project>{D6AA184C-DA45-4BBB-988A-451B20C7B804}</Project> | ||
<Name>Firebase.InstanceID</Name> | ||
</ProjectReference> | ||
<ProjectReference Include="..\..\..\Firebase.Core\source\Firebase.Core\Firebase.Core.csproj"> | ||
<Project>{0AD1ED63-C008-41B3-8ADB-04696B4880E3}</Project> | ||
<Name>Firebase.Core</Name> | ||
</ProjectReference> | ||
<ProjectReference Include="..\..\..\Firebase.Analytics\source\Firebase.Analytics\Firebase.Analytics.csproj"> | ||
<Project>{87BB564C-85A8-4EC1-AD16-EC0A1ACCEE56}</Project> | ||
<Name>Firebase.Analytics</Name> | ||
</ProjectReference> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<None Include="Firebase.ABTesting.targets" /> | ||
</ItemGroup> | ||
<Import Project="$(MSBuildExtensionsPath)\Xamarin\iOS\Xamarin.iOS.ObjCBinding.CSharp.targets" /> | ||
</Project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
<?xml version="1.0" encoding="UTF-8" ?> | ||
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | ||
|
||
<PropertyGroup> | ||
<_FirebaseABTestingAssemblyName>Firebase.ABTesting, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null</_FirebaseABTestingAssemblyName> | ||
<_FirebaseABTestingItemsFolder>FABTstng-2.0.0</_FirebaseABTestingItemsFolder> | ||
<_FirebaseABTestingSDKBaseFolder>$(XamarinBuildDownloadDir)$(_FirebaseABTestingItemsFolder)\Frameworks\</_FirebaseABTestingSDKBaseFolder> | ||
</PropertyGroup> | ||
|
||
<ItemGroup Condition="('$(OutputType)'!='Library' OR '$(IsAppExtension)'=='True')"> | ||
<XamarinBuildDownload Include="$(_FirebaseABTestingItemsFolder)"> | ||
<Url>https://dl.google.com/dl/cpdc/c0e282822215a254/FirebaseABTesting-2.0.0.tar.gz</Url> | ||
<Kind>Tgz</Kind> | ||
</XamarinBuildDownload> | ||
<NativeReference Include="$(_FirebaseABTestingSDKBaseFolder)FirebaseABTesting.framework"> | ||
<Kind>Framework</Kind> | ||
<ForceLoad>True</ForceLoad> | ||
<LinkerFlags>-ObjC -lz</LinkerFlags> | ||
<Frameworks>Security SystemConfiguration</Frameworks> | ||
</NativeReference> | ||
</ItemGroup> | ||
</Project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
using System; | ||
|
||
namespace Firebase.ABTesting | ||
{ | ||
public class Loader | ||
{ | ||
static Loader () | ||
{ | ||
Firebase.Core.Loader.ForceLoad (); | ||
Firebase.InstanceID.Loader.ForceLoad (); | ||
Firebase.Analytics.Loader.ForceLoad (); | ||
} | ||
|
||
public static void ForceLoad () { } | ||
} | ||
} | ||
|
||
namespace ApiDefinition | ||
{ | ||
partial class Messaging | ||
{ | ||
static Messaging () | ||
{ | ||
Firebase.ABTesting.Loader.ForceLoad (); | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
using System.Reflection; | ||
using System.Runtime.CompilerServices; | ||
|
||
using Foundation; | ||
|
||
// This attribute allows you to mark your assemblies as “safe to link”. | ||
// When the attribute is present, the linker—if enabled—will process the assembly | ||
// even if you’re using the “Link SDK assemblies only” option, which is the default for device builds. | ||
|
||
[assembly: LinkerSafe] | ||
|
||
// Information about this assembly is defined by the following attributes. | ||
// Change them to the values specific to your project. | ||
|
||
[assembly: AssemblyTitle ("Firebase.ABTesting")] | ||
[assembly: AssemblyDescription ("")] | ||
[assembly: AssemblyConfiguration ("")] | ||
[assembly: AssemblyCompany ("")] | ||
[assembly: AssemblyProduct ("")] | ||
[assembly: AssemblyCopyright ("Microsoft")] | ||
[assembly: AssemblyTrademark ("")] | ||
[assembly: AssemblyCulture ("")] | ||
|
||
// The assembly version has the format "{Major}.{Minor}.{Build}.{Revision}". | ||
// The form "{Major}.{Minor}.*" will automatically update the build and revision, | ||
// and "{Major}.{Minor}.{Build}.*" will update just the revision. | ||
|
||
[assembly: AssemblyVersion ("1.0.0.0")] | ||
[assembly: AssemblyFileVersion ("2.0.0.0")] | ||
|
||
// The following attributes are used to specify the signing key for the assembly, | ||
// if desired. See the Mono documentation for more information about signing. | ||
|
||
//[assembly: AssemblyDelaySign(false)] | ||
//[assembly: AssemblyKeyFile("")] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
using System; | ||
|
||
namespace Firebase.ABTesting { | ||
} |
Oops, something went wrong.