Skip to content

Commit

Permalink
Merge pull request #85 from hansemannn/update-android-fb-sdk
Browse files Browse the repository at this point in the history
[TIMOB-24593] Update Facebook Android SDK + iOS SDK to 4.25.0, support Graph v2.9 + FBSDKPlacesKit API, refactor iOS-project
  • Loading branch information
hansemannn authored Sep 7, 2017
2 parents 8d70647 + e5334f9 commit 85d2724
Show file tree
Hide file tree
Showing 264 changed files with 4,190 additions and 4,576 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ android/.settings

android/launch-*
nbproject
ios/FacebookIOS.xcodeproj/project.xcworkspace/xcuserdata/
ios/titanium-facebook.xcodeproj/project.xcworkspace/xcuserdata/
/android/java-sources.txt
/ios/metadata.json
/ios/facebook-iphone-*.zip
9 changes: 0 additions & 9 deletions android/assets/README

This file was deleted.

27 changes: 21 additions & 6 deletions android/example/app.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// this sets the background color of the master UIView (when there are no windows/tab groups on it)
Titanium.UI.setBackgroundColor('#000');
Ti.UI.setBackgroundColor('#000');

// create tab group
var tabGroup = Titanium.UI.createTabGroup({backgroundColor:'#fff'});
Expand All @@ -8,34 +8,49 @@ var fb = require('facebook');
// create base UI tab and root window
//

tabGroup.addTab(Titanium.UI.createTab({
tabGroup.addTab(Titanium.UI.createTab({
icon:'KS_nav_views.png',
title:'Login',
window:require('facebook_login_logout').window()
}));
tabGroup.addTab(Titanium.UI.createTab({

tabGroup.addTab(Titanium.UI.createTab({
icon:'KS_nav_views.png',
title:'Read',
window:require('facebook_read_stream').window()
}));

tabGroup.addTab(Titanium.UI.createTab({
tabGroup.addTab(Titanium.UI.createTab({
icon:'KS_nav_views.png',
title:'Publish',
window:require('facebook_publish_stream').window()
}));

tabGroup.addTab(Titanium.UI.createTab({
tabGroup.addTab(Titanium.UI.createTab({
icon:'KS_nav_views.png',
title:'Photo',
window:require('facebook_photos').window()
}));

if (Ti.Platform.osname !== 'android') {
tabGroup.addTab(Titanium.UI.createTab({
icon:'KS_nav_views.png',
title:'Messenger',
window:require('facebook_messenger').window()
}));

tabGroup.addTab(Titanium.UI.createTab({
icon:'KS_nav_views.png',
title:'Places',
window:require('facebook_places').window()
}));
}

fb.initialize(); // after you set up login/logout listeners and permissions

// open tab group
if (Ti.Platform.osname == 'android') {
tabGroup.fbProxy = fb.createActivityWorker({lifecycleContainer: tabGroup});
}

tabGroup.open();
Binary file removed android/lib/AudienceNetwork-fb-4.7.0.jar
Binary file not shown.
Binary file added android/lib/AudienceNetwork.aar
Binary file not shown.
Binary file removed android/lib/bolts-android-1.2.1.jar
Binary file not shown.
Binary file removed android/lib/facebook-android-4.12.0.jar
Binary file not shown.
Binary file added android/lib/facebook-android-sdk-4.25.0.aar
Binary file not shown.
5 changes: 2 additions & 3 deletions android/manifest
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,17 @@
# this is your module manifest and used by Titanium
# during compilation, packaging, distribution, etc.
#
version: 6.2.0
version: 6.3.0
apiversion: 3
architectures: armeabi-v7a x86
description: facebook
author: Mark Mokryn and Ashraf A. S. (Appcelerator)
license: Apache License Version 2.0
copyright: Copyright (c) 2014 by Mark Mokryn, Copyright (c) 2009-2017 by Appcelerator
respackage: com.facebook

# these should not be edited
name: Facebook
moduleid: facebook
guid: e4f7ac61-1ee7-44c5-bc27-fa6876e2dce9
platform: android
minsdk: 6.0.0
minsdk: 6.1.1
3 changes: 0 additions & 3 deletions android/platform/README

This file was deleted.

This file was deleted.

This file was deleted.

Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

25 changes: 0 additions & 25 deletions android/platform/android/res/drawable/com_facebook_button_icon.xml

This file was deleted.

This file was deleted.

Loading

0 comments on commit 85d2724

Please sign in to comment.