Rename module from ‘Functions’ to ‘CloudFunctions’
This commit is contained in:
Родитель
15e2670342
Коммит
685334cb28
10
Readme.md
10
Readme.md
|
@ -17,7 +17,7 @@ Xamarin creates and maintains Xamarin.iOS bindings for the Google APIs for iOS L
|
|||
| [Xamarin.Firebase.iOS.Database][F.Database.Name] | [6.0.0.2][F.Database.Package] |
|
||||
| [Xamarin.Firebase.iOS.DynamicLinks][F.DynamicLinks.Name] | [4.0.1.2][F.DynamicLinks.Package] |
|
||||
| [Xamarin.Firebase.iOS.InstanceID][F.InstanceID.Name] | [4.3.0.0][F.InstanceID.Package] |
|
||||
| [Xamarin.Firebase.iOS.Functions][F.Functions.Name] | [6.4.2.0][F.Functions.Package] |
|
||||
| [Xamarin.Firebase.iOS.CloudFunctions][F.CloudFunctions.Name] | [6.4.2.0][F.CloudFunctions.Package] |
|
||||
| [Xamarin.Firebase.iOS.MLKit][F.MLKit.Name] | [0.13.0.3][F.MLKit.Package] |
|
||||
| [Xamarin.Firebase.iOS.MLKit.Common][F.MLKit.Common.Name] | [0.13.0.2][F.MLKit.Common.Package] |
|
||||
| [Xamarin.Firebase.iOS.MLKit.ModelInterpreter][F.MLKit.ModelInterpreter.Name] | [0.13.0.2][F.MLKit.ModelInterpreter.Package] |
|
||||
|
@ -60,7 +60,7 @@ Here's a table that shows in which global version is located each component of F
|
|||
| Firebase Core | **6.6.0.0** | **6.15.0** |
|
||||
| Firebase Database | **6.0.0.2** | **6.5.0** |
|
||||
| Firebase Dynamic Links | **4.0.1.2** | **6.5.0** |
|
||||
| Firebase Functions | **6.4.2.0** | **6.15.0** |
|
||||
| Firebase CloudFunctions | **6.4.2.0** | **6.15.0** |
|
||||
| Firebase Instance ID | **4.3.0.0** | **6.15.0** |
|
||||
| Firebase MLKit | **0.13.0.3** | **5.13.0* |
|
||||
| Firebase MLKit Common | **0.13.0.2** | **5.13.0* |
|
||||
|
@ -113,7 +113,7 @@ Firebase.Core
|
|||
Firebase.Crashlytics
|
||||
Firebase.Database
|
||||
Firebase.DynamicLinks
|
||||
Firebase.Functions
|
||||
Firebase.CloudFunctions
|
||||
Firebase.InstanceID
|
||||
Firebase.MLKit
|
||||
Firebase.MLKit.Common
|
||||
|
@ -180,7 +180,7 @@ This project is part of the [.NET Foundation][104]
|
|||
[F.Crashlytics.Name]: source/Firebase/Crashlytics
|
||||
[F.Database.Name]: source/Firebase/Database
|
||||
[F.DynamicLinks.Name]: source/Firebase/DynamicLinks
|
||||
[F.Auth.Name]: source/Firebase/Functions
|
||||
[F.CloudFunctions.Name]: source/Firebase/CloudFunctions
|
||||
[F.InstanceID.Name]: source/Firebase/InstanceID
|
||||
[F.MLKit.Name]: source/Firebase/MLKit
|
||||
[F.MLKit.Common.Name]: source/Firebase/MLKit.Common
|
||||
|
@ -201,7 +201,7 @@ This project is part of the [.NET Foundation][104]
|
|||
[F.Crashlytics.Package]: https://www.nuget.org/packages/Xamarin.Firebase.iOS.Crashlytics/
|
||||
[F.Database.Package]: https://www.nuget.org/packages/Xamarin.Firebase.iOS.Database/
|
||||
[F.DynamicLinks.Package]: https://www.nuget.org/packages/Xamarin.Firebase.iOS.DynamicLinks/
|
||||
[F.Functions.Package]: https://www.nuget.org/packages/Xamarin.Firebase.iOS.Functions/
|
||||
[F.CloudFunctions.Package]: https://www.nuget.org/packages/Xamarin.Firebase.iOS.Functions/
|
||||
[F.InstanceID.Package]: https://www.nuget.org/packages/Xamarin.Firebase.iOS.InstanceID/
|
||||
[F.MLKit.Package]: https://www.nuget.org/packages/Xamarin.Firebase.iOS.MLKit/
|
||||
[F.MLKit.Common.Package]: https://www.nuget.org/packages/Xamarin.Firebase.iOS.MLKit.Common/
|
||||
|
|
|
@ -115,9 +115,9 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SignInExample", "samples\Go
|
|||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "TagManagerSample", "samples\Google\TagManager\TagManagerSample\TagManagerSample.csproj", "{A557F95D-A084-47BE-8EF8-C5E42AD8C233}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Functions", "source\Firebase\Functions\Functions.csproj", "{E5719ABE-6807-49C9-9E7A-0997FF4A5365}"
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CloudFunctions", "source\Firebase\CloudFunctions\CloudFunctions.csproj", "{E5719ABE-6807-49C9-9E7A-0997FF4A5365}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "FunctionsSample", "samples\Firebase\Functions\FunctionsSample\FunctionsSample.csproj", "{C02A268C-500B-4C3E-81E7-4E40A7AEB323}"
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CloudFunctionsSample", "samples\Firebase\CloudFunctions\CloudFunctionsSample\CloudFunctionsSample.csproj", "{C02A268C-500B-4C3E-81E7-4E40A7AEB323}"
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
|
|
|
@ -9,8 +9,7 @@ Artifact FIREBASE_CORE_ARTIFACT = new Artifact ("Firebase.Cor
|
|||
Artifact FIREBASE_CRASHLYTICS_ARTIFACT = new Artifact ("Firebase.Crashlytics", "3.14.0.3", "8.0", ComponentGroup.Firebase, csprojName: "Crashlytics");
|
||||
Artifact FIREBASE_DATABASE_ARTIFACT = new Artifact ("Firebase.Database", "6.0.0.2", "8.0", ComponentGroup.Firebase, csprojName: "Database", ignore: true);
|
||||
Artifact FIREBASE_DYNAMIC_LINKS_ARTIFACT = new Artifact ("Firebase.DynamicLinks", "4.0.1.2", "8.0", ComponentGroup.Firebase, csprojName: "DynamicLinks", ignore: true);
|
||||
// Not sure which version comes here for functions
|
||||
Artifact FIREBASE_FUNCTIONS_ARTIFACT = new Artifact ("Firebase.Functions", "6.4.2", "8.0", ComponentGroup.Firebase, csprojName: "Functions");
|
||||
Artifact FIREBASE_CLOUD_FUNCTIONS_ARTIFACT = new Artifact ("Firebase.CloudFunctions", "6.4.2", "8.0", ComponentGroup.Firebase, csprojName: "CloudFunctions");
|
||||
Artifact FIREBASE_INSTANCE_ID_ARTIFACT = new Artifact ("Firebase.InstanceID", "4.3.0", "8.0", ComponentGroup.Firebase, csprojName: "InstanceID");
|
||||
Artifact FIREBASE_MLKIT_ARTIFACT = new Artifact ("Firebase.MLKit", "0.13.0.3", "9.0", ComponentGroup.Firebase, csprojName: "MLKit", ignore: true);
|
||||
Artifact FIREBASE_MLKIT_COMMON_ARTIFACT = new Artifact ("Firebase.MLKit.Common", "0.13.0.2", "9.0", ComponentGroup.Firebase, csprojName: "MLKit.Common", ignore: true);
|
||||
|
@ -42,7 +41,7 @@ var ARTIFACTS = new Dictionary<string, Artifact> {
|
|||
{ "Firebase.Crashlytics", FIREBASE_CRASHLYTICS_ARTIFACT },
|
||||
{ "Firebase.Database", FIREBASE_DATABASE_ARTIFACT },
|
||||
{ "Firebase.DynamicLinks", FIREBASE_DYNAMIC_LINKS_ARTIFACT },
|
||||
{ "Firebase.Functions", FIREBASE_FUNCTIONS_ARTIFACT },
|
||||
{ "Firebase.CloudFunctions", FIREBASE_CLOUD_FUNCTIONS_ARTIFACT },
|
||||
{ "Firebase.InstanceID", FIREBASE_INSTANCE_ID_ARTIFACT },
|
||||
{ "Firebase.MLKit", FIREBASE_MLKIT_ARTIFACT },
|
||||
{ "Firebase.MLKit.Common", FIREBASE_MLKIT_COMMON_ARTIFACT },
|
||||
|
@ -75,7 +74,7 @@ void SetArtifactsDependencies ()
|
|||
FIREBASE_CRASHLYTICS_ARTIFACT.Dependencies = new [] { /* Needed for sample */ FIREBASE_CORE_ARTIFACT };
|
||||
FIREBASE_DATABASE_ARTIFACT.Dependencies = new [] { FIREBASE_CORE_ARTIFACT, /* Needed for sample */ FIREBASE_AUTH_ARTIFACT };
|
||||
FIREBASE_DYNAMIC_LINKS_ARTIFACT.Dependencies = new [] { FIREBASE_CORE_ARTIFACT };
|
||||
FIREBASE_FUNCTIONS_ARTIFACT.Dependencies = new [] { FIREBASE_CORE_ARTIFACT};
|
||||
FIREBASE_CLOUD_FUNCTIONS_ARTIFACT.Dependencies = new [] { FIREBASE_CORE_ARTIFACT};
|
||||
FIREBASE_INSTANCE_ID_ARTIFACT.Dependencies = new [] { FIREBASE_CORE_ARTIFACT };
|
||||
FIREBASE_MLKIT_ARTIFACT.Dependencies = new [] { FIREBASE_CORE_ARTIFACT, FIREBASE_MLKIT_COMMON_ARTIFACT };
|
||||
FIREBASE_MLKIT_COMMON_ARTIFACT.Dependencies = new [] { FIREBASE_CORE_ARTIFACT };
|
||||
|
@ -147,8 +146,8 @@ void SetArtifactsPodSpecs ()
|
|||
FIREBASE_DYNAMIC_LINKS_ARTIFACT.PodSpecs = new [] {
|
||||
PodSpec.Create ("Firebase", "6.5.0", frameworkSource: FrameworkSource.Pods, frameworkName: "FirebaseDynamicLinks", targetName: "FirebaseDynamicLinks", subSpecs: new [] { "DynamicLinks" })
|
||||
};
|
||||
FIREBASE_FUNCTIONS_ARTIFACT.PodSpecs = new [] {
|
||||
PodSpec.Create ("Firebase", "6.15.0", frameworkSource: FrameworkSource.Pods, frameworkName: "FirebaseFunctions", targetName: "FirebaseFunctions", subSpecs: new [] { "Functions" })
|
||||
FIREBASE_CLOUD_FUNCTIONS_ARTIFACT.PodSpecs = new [] {
|
||||
PodSpec.Create ("Firebase", "6.15.0", frameworkSource: FrameworkSource.Pods, frameworkName: "FirebaseCloudFunctions", targetName: "FirebaseCloudFunctions", subSpecs: new [] { "CloudFunctions" })
|
||||
};
|
||||
FIREBASE_INSTANCE_ID_ARTIFACT.PodSpecs = new [] {
|
||||
PodSpec.Create ("FirebaseInstanceID", "4.3.0", frameworkSource: FrameworkSource.Pods),
|
||||
|
@ -244,7 +243,7 @@ void SetArtifactsExtraPodfileLines ()
|
|||
FIREBASE_CORE_ARTIFACT.ExtraPodfileLines = dynamicFrameworkLines;
|
||||
FIREBASE_DATABASE_ARTIFACT.ExtraPodfileLines = dynamicFrameworkLines;
|
||||
FIREBASE_DYNAMIC_LINKS_ARTIFACT.ExtraPodfileLines = dynamicFrameworkLines;
|
||||
FIREBASE_FUNCTIONS_ARTIFACT.ExtraPodfileLines = dynamicFrameworkLines;
|
||||
FIREBASE_CLOUD_FUNCTIONS_ARTIFACT.ExtraPodfileLines = dynamicFrameworkLines;
|
||||
FIREBASE_INSTANCE_ID_ARTIFACT.ExtraPodfileLines = dynamicFrameworkLines;
|
||||
FIREBASE_REMOTE_CONFIG_ARTIFACT.ExtraPodfileLines = dynamicFrameworkLines;
|
||||
FIREBASE_STORAGE_ARTIFACT.ExtraPodfileLines = dynamicFrameworkLines;
|
||||
|
|
|
@ -42,9 +42,9 @@
|
|||
BuildScript: ./Firebase.DynamicLinks/build.cake
|
||||
TriggerPaths: [ Firebase.DynamicLinks ]
|
||||
MacBuildTargets: [ samples, component ]
|
||||
- Name: Firebase.iOS.Functions
|
||||
BuildScript: ./Firebase.Functions/build.cake
|
||||
TriggerPaths: [ Firebase.Functions ]
|
||||
- Name: Firebase.iOS.CloudFunctions
|
||||
BuildScript: ./Firebase.CloudFunctions/build.cake
|
||||
TriggerPaths: [ Firebase.CloudFunctions ]
|
||||
MacBuildTargets: [ samples, component ]
|
||||
- Name: Firebase.iOS.InstanceID
|
||||
BuildScript: ./Firebase.InstanceID/build.cake
|
||||
|
|
|
@ -4,10 +4,10 @@ using Foundation;
|
|||
using UIKit;
|
||||
using UserNotifications;
|
||||
|
||||
using Firebase.Functions;
|
||||
using Firebase.CloudFunctions;
|
||||
using Firebase.Core;
|
||||
|
||||
namespace FunctionsSample
|
||||
namespace CloudFunctionsSample
|
||||
{
|
||||
// The UIApplicationDelegate for the application. This class is responsible for launching the
|
||||
// User Interface of the application, as well as listening (and optionally responding) to application events from iOS.
|
||||
|
|
|
@ -7,8 +7,8 @@
|
|||
<ProjectGuid>{C02A268C-500B-4C3E-81E7-4E40A7AEB323}</ProjectGuid>
|
||||
<ProjectTypeGuids>{FEACFBD2-3405-455C-9665-78FE426C6842};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
|
||||
<OutputType>Exe</OutputType>
|
||||
<RootNamespace>FunctionsSample</RootNamespace>
|
||||
<AssemblyName>FunctionsSample</AssemblyName>
|
||||
<RootNamespace>CloudFunctionsSample</RootNamespace>
|
||||
<AssemblyName>CloudFunctionsSample</AssemblyName>
|
||||
<IPhoneResourcePrefix>Resources</IPhoneResourcePrefix>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|iPhoneSimulator' ">
|
||||
|
@ -124,9 +124,9 @@
|
|||
<Compile Include="MenuViewController.cs" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\..\..\..\source\Firebase\Functions\Functions.csproj">
|
||||
<ProjectReference Include="..\..\..\..\source\Firebase\CloudFunctions\CloudFunctions.csproj">
|
||||
<Project>{E5719ABE-6807-49C9-9E7A-0997FF4A5365}</Project>
|
||||
<Name>Functions</Name>
|
||||
<Name>CloudFunctions</Name>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\..\..\..\source\Firebase\Core\Core.csproj">
|
||||
<Project>{9335A59B-3B54-4ED5-8201-B68CFD05CAFB}</Project>
|
||||
|
|
|
@ -3,9 +3,9 @@
|
|||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>CFBundleName</key>
|
||||
<string>FunctionsSample</string>
|
||||
<string>CloudFunctionsSample</string>
|
||||
<key>CFBundleIdentifier</key>
|
||||
<string>com.xamarin.firebase.ios.functionssample</string>
|
||||
<string>com.xamarin.firebase.ios.cloudfunctionssample</string>
|
||||
<key>CFBundleShortVersionString</key>
|
||||
<string>1.0</string>
|
||||
<key>CFBundleVersion</key>
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
using UIKit;
|
||||
|
||||
namespace FunctionsSample
|
||||
namespace CloudFunctionsSample
|
||||
{
|
||||
public class Application
|
||||
{
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
using MonoTouch.Dialog;
|
||||
using UIKit;
|
||||
using Foundation;
|
||||
using Firebase.Functions;
|
||||
using Firebase.CloudFunctions;
|
||||
using System;
|
||||
|
||||
namespace FunctionsSample
|
||||
namespace CloudFunctionsSample
|
||||
{
|
||||
public class MenuViewController : DialogViewController
|
||||
{
|
||||
|
@ -17,7 +17,7 @@ namespace FunctionsSample
|
|||
functionEntry = new EntryElement("Function", "functionName", "helloWorld");
|
||||
dataEntry = new EntryElement("Data", "sample data string", "");
|
||||
|
||||
Root = new RootElement("Firebase Functions Sample") {
|
||||
Root = new RootElement("Firebase CloudFunctions Sample") {
|
||||
new Section ("Select your function") {
|
||||
functionEntry,
|
||||
dataEntry,
|
||||
|
@ -47,7 +47,7 @@ namespace FunctionsSample
|
|||
|
||||
private void CallFunction(string functionName, NSObject data)
|
||||
{
|
||||
var instance = Functions.DefaultInstance;
|
||||
var instance = CloudFunctions.DefaultInstance;
|
||||
|
||||
var function = instance.HttpsCallable(functionName);
|
||||
|
||||
|
@ -67,9 +67,9 @@ namespace FunctionsSample
|
|||
if (error != null)
|
||||
{
|
||||
Console.WriteLine("Domain: " + error.Domain + " Error: " + error.DebugDescription);
|
||||
if (error.Domain == Functions.FunctionsErrorDomain)
|
||||
if (error.Domain == CloudFunctions.CloudFunctionsErrorDomain)
|
||||
{
|
||||
FunctionsErrorCode code = (FunctionsErrorCode)(long)error.Code;
|
||||
CloudFunctionsErrorCode code = (CloudFunctionsErrorCode)(long)error.Code;
|
||||
Console.WriteLine("Error Code: " + code);
|
||||
}
|
||||
AppDelegate.ShowMessage("Error", error.DebugDescription, NavigationController);
|
||||
|
|
|
@ -6,32 +6,32 @@ using ObjCRuntime;
|
|||
using CoreGraphics;
|
||||
using Firebase.Core;
|
||||
|
||||
namespace Firebase.Functions
|
||||
namespace Firebase.CloudFunctions
|
||||
{
|
||||
// @interface FIRFunctions : NSObject
|
||||
[DisableDefaultCtor]
|
||||
[BaseType (typeof (NSObject), Name = "FIRFunctions")]
|
||||
interface Functions
|
||||
interface CloudFunctions
|
||||
{
|
||||
// + (FIRFunctions *)functions;
|
||||
[Static]
|
||||
[Export("functions")]
|
||||
Functions DefaultInstance { get; }
|
||||
CloudFunctions DefaultInstance { get; }
|
||||
|
||||
// + (FIRFunctions *)functionsForApp:(FIRAPP *)app;
|
||||
[Static]
|
||||
[Export("functionsForApp:")]
|
||||
Functions From (App app);
|
||||
CloudFunctions From (App app);
|
||||
|
||||
//+ (FIRFunctions *) functionsForRegion:(NSString*) region;
|
||||
[Static]
|
||||
[Export("functionsForRegion:")]
|
||||
Functions From (string region);
|
||||
CloudFunctions From (string region);
|
||||
|
||||
//+ (FIRFunctions *)functionsForApp:(FIRApp *)app region:(NSString*) region
|
||||
[Static]
|
||||
[Export("functionsForApp:region")]
|
||||
Functions From (App app, string region);
|
||||
CloudFunctions From (App app, string region);
|
||||
|
||||
//- (FIRHTTPSCallable *)HTTPSCallableWithName:(NSString *)name;
|
||||
[Export("HTTPSCallableWithName:")]
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
using System;
|
||||
using ObjCRuntime;
|
||||
|
||||
namespace Firebase.Functions
|
||||
namespace Firebase.CloudFunctions
|
||||
{
|
||||
[Native]
|
||||
public enum FunctionsErrorCode : long
|
||||
public enum CloudFunctionsErrorCode : long
|
||||
{
|
||||
Ok = 0,
|
||||
Cancelled = 1,
|
||||
|
|
|
@ -1,15 +1,15 @@
|
|||
using System;
|
||||
using System.Runtime.InteropServices;
|
||||
using ObjCRuntime;
|
||||
namespace Firebase.Functions
|
||||
namespace Firebase.CloudFunctions
|
||||
{
|
||||
public partial class Functions {
|
||||
public partial class CloudFunctions {
|
||||
static string currentVersion;
|
||||
public static string CurrentVersion {
|
||||
get {
|
||||
if (currentVersion == null) {
|
||||
IntPtr RTLD_MAIN_ONLY = Dlfcn.dlopen (null, 0);
|
||||
IntPtr ptr = Dlfcn.dlsym (RTLD_MAIN_ONLY, "FirebaseFunctionsVersionStr");
|
||||
IntPtr ptr = Dlfcn.dlsym (RTLD_MAIN_ONLY, "FirebaseCloudFunctionsVersionStr");
|
||||
currentVersion = Marshal.PtrToStringAnsi (ptr);
|
||||
Dlfcn.dlclose (RTLD_MAIN_ONLY);
|
||||
}
|
||||
|
@ -18,7 +18,7 @@ namespace Firebase.Functions
|
|||
}
|
||||
}
|
||||
|
||||
public const string FunctionsErrorDomain = "com.firebase.functions";
|
||||
public const string FUnctionsErrorDetailsKey = "details";
|
||||
public const string CloudFunctionsErrorDomain = "com.firebase.functions";
|
||||
public const string CloudFunctionsErrorDetailsKey = "details";
|
||||
}
|
||||
}
|
||||
|
|
|
@ -3,8 +3,8 @@
|
|||
<PropertyGroup>
|
||||
<TargetFrameworks>Xamarin.iOS10</TargetFrameworks>
|
||||
<IsBindingProject>true</IsBindingProject>
|
||||
<RootNamespace>Firebase.Functions</RootNamespace>
|
||||
<AssemblyName>Firebase.Functions</AssemblyName>
|
||||
<RootNamespace>Firebase.CloudFunctions</RootNamespace>
|
||||
<AssemblyName>Firebase.CloudFunctions</AssemblyName>
|
||||
<AssemblyVersion>1.0.0.0</AssemblyVersion>
|
||||
<FileVersion>6.4.2</FileVersion>
|
||||
<IPhoneResourcePrefix>Resources</IPhoneResourcePrefix>
|
||||
|
@ -12,14 +12,14 @@
|
|||
</PropertyGroup>
|
||||
|
||||
<PropertyGroup>
|
||||
<PackageId>Xamarin.Firebase.iOS.Functions</PackageId>
|
||||
<Title>Firebase APIs Functions iOS Library</Title>
|
||||
<Summary>C# bindings for Firebase APIs Functions iOS Library</Summary>
|
||||
<Description>C# bindings for Firebase APIs Functions iOS Library</Description>
|
||||
<PackageId>Xamarin.Firebase.iOS.CloudFunctions</PackageId>
|
||||
<Title>Firebase APIs CloudFunctions iOS Library</Title>
|
||||
<Summary>C# bindings for Firebase APIs CloudFunctions iOS Library</Summary>
|
||||
<Description>C# bindings for Firebase APIs CloudFunctions iOS Library</Description>
|
||||
<Authors>Microsoft</Authors>
|
||||
<Owners>Microsoft</Owners>
|
||||
<Copyright>© Microsoft Corporation. All rights reserved.</Copyright>
|
||||
<PackageIcon>firebaseiosfunctions_128x128.png</PackageIcon>
|
||||
<PackageIcon>firebaseioscloudfunctions_128x128.png</PackageIcon>
|
||||
<PackageProjectUrl>https://go.microsoft.com/fwlink/?linkid=865530</PackageProjectUrl>
|
||||
<PackageLicenseFile>License.md</PackageLicenseFile>
|
||||
<PackageRequireLicenseAcceptance>true</PackageRequireLicenseAcceptance>
|
||||
|
@ -40,7 +40,7 @@
|
|||
</None>
|
||||
<None Include="External-Dependency-Info.txt" Pack="True" PackagePath="THIRD-PARTY-NOTICES.txt" />
|
||||
<None Include="License.md" Pack="True" PackagePath="License.md" />
|
||||
<None Include="../../../icons/firebaseiosfunctions_128x128.png" Pack="True" PackagePath="firebaseiosfunctions_128x128.png" />
|
||||
<None Include="../../../icons/firebaseioscloudfunctions_128x128.png" Pack="True" PackagePath="firebaseioscloudfunctions_128x128.png" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
**Xamarin is not responsible for, nor does it grant any licenses to, third-party packages. Some packages may require or install dependencies which are governed by additional licenses.**
|
||||
|
||||
Note: This component depends on [Firebase Functions for iOS](https://firebase.google.com/docs/functions), which is subject to the [Terms of Service for Firebase Services](https://firebase.google.com/terms/).
|
||||
Note: This component depends on [Firebase CloudFunctions for iOS](https://firebase.google.com/docs/functions), which is subject to the [Terms of Service for Firebase Services](https://firebase.google.com/terms/).
|
||||
|
||||
### Xamarin Component for Firebase Functions for iOS
|
||||
### Xamarin Component for Firebase CloudFunctions for iOS
|
||||
|
||||
**The MIT License (MIT)**
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
using System;
|
||||
namespace Firebase.Functions
|
||||
namespace Firebase.CloudFunctions
|
||||
{
|
||||
public class Loader
|
||||
{
|
||||
|
@ -18,7 +18,7 @@ namespace ApiDefinition
|
|||
{
|
||||
static Messaging ()
|
||||
{
|
||||
Firebase.Functions.Loader.ForceLoad ();
|
||||
Firebase.CloudFunctions.Loader.ForceLoad ();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -35,7 +35,7 @@ public Dictionary<string, GoogleBase> CreateComponents ()
|
|||
googleComponents ["Firebase.CrashReporting"] = GetComponent<Firebase.CrashReporting> ();
|
||||
googleComponents ["Firebase.Database"] = GetComponent<Firebase.Database> ();
|
||||
googleComponents ["Firebase.DynamicLinks"] = GetComponent<Firebase.DynamicLinks> ();
|
||||
googleComponents ["Firebase.Functions"] = GetComponent<Firebase.Functions> ();
|
||||
googleComponents ["Firebase.CloudFunctions"] = GetComponent<Firebase.CloudFunctions> ();
|
||||
googleComponents ["Firebase.InstanceID"] = GetComponent<Firebase.InstanceID> ();
|
||||
googleComponents ["Firebase.Invites"] = GetComponent<Firebase.Invites> ();
|
||||
googleComponents ["Firebase.MLKit"] = GetComponent<Firebase.MLKit> ();
|
||||
|
|
Загрузка…
Ссылка в новой задаче