Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Added extend token methods to Facebook binding and updated UA and Testflight to latest releases. #42

Open
wants to merge 2 commits into from

3 participants

@jdguzman

No description provided.

@Clancey
Collaborator

This mentions Testflight, the pull request seems to be for Urban Airship.

The only things changed in Testflight were the generated docs. Other than that Testflight built fine without modifications.

@tomasikp

code for extending tokens was included in issue #40

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Apr 12, 2012
  1. @jdguzman

    Updated TestFlight to the 1.0.0 lib and UrbanAirship to 1.2.0. Added …

    jdguzman authored
    …some arguments to LinkWith to get UrbanAirship to build and load properly.
Commits on Apr 21, 2012
  1. @jdguzman
This page is out of date. Refresh to see the latest.
View
2  .gitignore
@@ -10,3 +10,5 @@ tmp/
GoogleAnalytics/binding/Google Analytics SDK/
ATMHud/sample/sample.pidb
+
+UrbanAirShip/*
View
48 TestFlight/docs/MonoTouch.TestFlight/TestFlight.xml
@@ -167,6 +167,30 @@
<remarks>To be added.</remarks>
</Docs>
</Member>
+ <Member MemberName="SetDeviceIdentifier">
+ <MemberSignature Language="C#" Value="public static void SetDeviceIdentifier (string deviceIdentifer);" />
+ <MemberSignature Language="ILAsm" Value=".method public static hidebysig void SetDeviceIdentifier(string deviceIdentifer) cil managed" />
+ <MemberType>Method</MemberType>
+ <AssemblyInfo>
+ <AssemblyVersion>0.0.0.0</AssemblyVersion>
+ </AssemblyInfo>
+ <Attributes>
+ <Attribute>
+ <AttributeName>MonoTouch.Foundation.Export("setDeviceIdentifier:")</AttributeName>
+ </Attribute>
+ </Attributes>
+ <ReturnValue>
+ <ReturnType>System.Void</ReturnType>
+ </ReturnValue>
+ <Parameters>
+ <Parameter Name="deviceIdentifer" Type="System.String" />
+ </Parameters>
+ <Docs>
+ <param name="deviceIdentifer">To be added.</param>
+ <summary>To be added.</summary>
+ <remarks>To be added.</remarks>
+ </Docs>
+ </Member>
<Member MemberName="SetOptions">
<MemberSignature Language="C#" Value="public static void SetOptions (MonoTouch.Foundation.NSDictionary options);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig void SetOptions(class MonoTouch.Foundation.NSDictionary options) cil managed" />
@@ -191,6 +215,30 @@
<remarks>To be added.</remarks>
</Docs>
</Member>
+ <Member MemberName="SubmitFeedback">
+ <MemberSignature Language="C#" Value="public static void SubmitFeedback (string feedback);" />
+ <MemberSignature Language="ILAsm" Value=".method public static hidebysig void SubmitFeedback(string feedback) cil managed" />
+ <MemberType>Method</MemberType>
+ <AssemblyInfo>
+ <AssemblyVersion>0.0.0.0</AssemblyVersion>
+ </AssemblyInfo>
+ <Attributes>
+ <Attribute>
+ <AttributeName>MonoTouch.Foundation.Export("submitFeedback:")</AttributeName>
+ </Attribute>
+ </Attributes>
+ <ReturnValue>
+ <ReturnType>System.Void</ReturnType>
+ </ReturnValue>
+ <Parameters>
+ <Parameter Name="feedback" Type="System.String" />
+ </Parameters>
+ <Docs>
+ <param name="feedback">To be added.</param>
+ <summary>To be added.</summary>
+ <remarks>To be added.</remarks>
+ </Docs>
+ </Member>
<Member MemberName="TakeOff">
<MemberSignature Language="C#" Value="public static void TakeOff (string teamToken);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig void TakeOff(string teamToken) cil managed" />
View
3  UrbanAirShip/binding/AssemblyInfo.cs
@@ -1,4 +1,5 @@
using System;
using MonoTouch.ObjCRuntime;
-[assembly: LinkWith ("libUAirship-1.1.3.a", LinkTarget.Simulator | LinkTarget.ArmV6 | LinkTarget.ArmV7, ForceLoad = true)]
+[assembly: LinkWith ("libUAirship-1.2.0.a", LinkTarget.Simulator | LinkTarget.ArmV6 | LinkTarget.ArmV7,
+ Frameworks = "MobileCoreServices", LinkerFlags = "-lsqlite3", ForceLoad = true)]
View
4 UrbanAirShip/binding/Makefile
@@ -2,8 +2,8 @@ BTOUCH=/Developer/MonoTouch/usr/bin/btouch
all: UrbanAirship.dll
-UrbanAirship.dll: Makefile AssemblyInfo.cs common.cs enums.cs libUAirship-1.1.3.a
- $(BTOUCH) common.cs AssemblyInfo.cs enums.cs --out=$@ --link-with=libUAirship-1.1.3.a,libUAirship-1.1.3.a
+UrbanAirship.dll: Makefile AssemblyInfo.cs common.cs enums.cs libUAirship-1.2.0.a
+ $(BTOUCH) common.cs AssemblyInfo.cs enums.cs --out=$@ --link-with=libUAirship-1.2.0.a,libUAirship-1.2.0.a
clean:
-rm -f *.a *.dll
View
2  UrbanAirShip/docs/index.xml
@@ -3,7 +3,7 @@
<Assembly Name="UrbanAirship" Version="0.0.0.0">
<Attributes>
<Attribute>
- <AttributeName>MonoTouch.ObjCRuntime.LinkWith("libUAirship-1.1.3.a", MonoTouch.ObjCRuntime.LinkTarget.Simulator | MonoTouch.ObjCRuntime.LinkTarget.ArmV6 | MonoTouch.ObjCRuntime.LinkTarget.ArmV7, ForceLoad=true)</AttributeName>
+ <AttributeName>MonoTouch.ObjCRuntime.LinkWith("libUAirship-1.2.0.a", MonoTouch.ObjCRuntime.LinkTarget.Simulator | MonoTouch.ObjCRuntime.LinkTarget.ArmV6 | MonoTouch.ObjCRuntime.LinkTarget.ArmV7, ForceLoad=true, Frameworks="MobileCoreServices", LinkerFlags="-lsqlite3")</AttributeName>
</Attribute>
<Attribute>
<AttributeName>System.Runtime.CompilerServices.RuntimeCompatibility(WrapNonExceptionThrows=true)</AttributeName>
View
BIN  facebook/binding/Facebook.dll
Binary file not shown
View
12 facebook/binding/facebook.cs
@@ -37,6 +37,15 @@ interface Facebook {
[Export ("authorize:")]
void Authorize (string [] permissions);
+
+ [Export ("extendAccessTokenIfNeeded")]
+ void ExtendAccessTokenIfNeeded ();
+
+ [Export ("extendAccessToken")]
+ void ExtendAccessToken ();
+
+ [Export ("shouldExtendAccessToken:")]
+ bool ShouldExtendAccessToken ();
[Export ("handleOpenURL:")]
bool HandleOpenURL (NSUrl url);
@@ -83,6 +92,9 @@ interface FBSessionDelegate {
[Export ("fbSessionInvalidated")]
void SessionInvalidated ();
+
+ [Export ("fbDidExtendToken:expiresAt:")]
+ void DidExtendToken (string token, NSDate expiresAt);
}
[BaseType (typeof (NSObject))]
Something went wrong with that request. Please try again.