Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-24593] TiAPI: Update Facebook-SDKs to 4.22, support Graph v2.9

GitHub Issuen/a
TypeStory
PriorityHigh
StatusClosed
ResolutionFixed
Resolution Date2017-09-07T13:59:36.000+0000
Affected Version/sn/a
Fix Version/sRelease 7.0.0
ComponentsAndroid, iOS
Labelsfacebook
ReporterHans Knöchel
AssigneeHans Knöchel
Created2017-04-18T20:06:20.000+0000
Updated2017-11-15T07:45:13.000+0000

Description

As part of the F8 conference, Facebook announced the Graph API v2.9 and SDK 4.22 today. We should support it asap.

Comments

  1. Hans Knöchel 2017-04-18

    PR: https://github.com/appcelerator-modules/ti.facebook/pull/85 [~emerriman] Please advice which SDK version should include the pre-packaged module, thx!
  2. Hans Knöchel 2017-04-19

    [~gmathews] I get the following error when using the latest Ti.Facebook Android version:
       [ERROR] Failed to package application:
       [ERROR]   
       [ERROR] warning: string 'com_facebook_device_auth_instructions' has no default translation.
       [ERROR] warning: string 'com_facebook_image_download_unknown_error' has no default translation.
       [ERROR] warning: string 'com_facebook_internet_permission_error_message' has no default translation.
       [ERROR] warning: string 'com_facebook_internet_permission_error_title' has no default translation.
       [ERROR] warning: string 'com_facebook_like_button_liked' has no default translation.
       [ERROR] warning: string 'com_facebook_like_button_not_liked' has no default translation.
       [ERROR] warning: string 'com_facebook_loading' has no default translation.
       [ERROR] warning: string 'com_facebook_loginview_cancel_action' has no default translation.
       [ERROR] warning: string 'com_facebook_loginview_log_in_button' has no default translation.
       [ERROR] warning: string 'com_facebook_loginview_log_in_button_continue' has no default translation.
       [ERROR] warning: string 'com_facebook_loginview_log_in_button_long' has no default translation.
       [ERROR] warning: string 'com_facebook_loginview_log_out_action' has no default translation.
       [ERROR] warning: string 'com_facebook_loginview_log_out_button' has no default translation.
       [ERROR] warning: string 'com_facebook_loginview_logged_in_as' has no default translation.
       [ERROR] warning: string 'com_facebook_loginview_logged_in_using_facebook' has no default translation.
       [ERROR] warning: string 'com_facebook_send_button_text' has no default translation.
       [ERROR] warning: string 'com_facebook_share_button_text' has no default translation.
       [ERROR] warning: string 'com_facebook_smart_device_instructions' has no default translation.
       [ERROR] warning: string 'com_facebook_smart_device_instructions_or' has no default translation.
       [ERROR] warning: string 'com_facebook_smart_login_confirmation_cancel' has no default translation.
       [ERROR] warning: string 'com_facebook_smart_login_confirmation_continue_as' has no default translation.
       [ERROR] warning: string 'com_facebook_smart_login_confirmation_title' has no default translation.
       [ERROR] warning: string 'com_facebook_tooltip_default' has no default translation.
       [ERROR] warning: string 'messenger_send_button_text' has no default translation.
       [ERROR] /Users/hknoechel/Documents/Apps/fbtest/build/android/res/layout/com_facebook_device_auth_dialog_fragment.xml:45: error: No resource identifier found for attribute 'srcCompat' in package 'com.appc.fbtests'
       [ERROR]   
       [ERROR] /Users/hknoechel/Documents/Apps/fbtest/build/android/res/layout/com_facebook_device_auth_dialog_fragment.xml:56: error: Error: No resource found that matches the given name (at 'textColor' with value '@color/com_facebook_blue').
       [ERROR]   
       [ERROR] /Users/hknoechel/Documents/Apps/fbtest/build/android/res/layout/com_facebook_device_auth_dialog_fragment.xml:80: error: Error: No resource found that matches the given name (at 'textColor' with value '@color/com_facebook_device_auth_text').
       [ERROR]   
       [ERROR] /Users/hknoechel/Documents/Apps/fbtest/build/android/res/layout/com_facebook_device_auth_dialog_fragment.xml:100: error: Error: No resource found that matches the given name (at 'textColor' with value '@color/com_facebook_device_auth_text').
       [ERROR]   
       [ERROR] /Users/hknoechel/Documents/Apps/fbtest/build/android/res/layout/com_facebook_smart_device_dialog_fragment.xml:47: error: No resource identifier found for attribute 'srcCompat' in package 'com.appc.fbtests'
       [ERROR]   
       [ERROR] /Users/hknoechel/Documents/Apps/fbtest/build/android/res/layout/com_facebook_smart_device_dialog_fragment.xml:59: error: Error: No resource found that matches the given name (at 'textColor' with value '@color/com_smart_login_code').
       [ERROR]   
       [ERROR] /Users/hknoechel/Documents/Apps/fbtest/build/android/res/layout/com_facebook_smart_device_dialog_fragment.xml:83: error: Error: No resource found that matches the given name (at 'style' with value '@style/com_facebook_auth_dialog_instructions_textview').
       [ERROR]   
       [ERROR] /Users/hknoechel/Documents/Apps/fbtest/build/android/res/layout/com_facebook_smart_device_dialog_fragment.xml:94: error: Error: No resource found that matches the given name (at 'style' with value '@style/com_facebook_auth_dialog_instructions_textview').
       [ERROR]   
       [ERROR] /Users/hknoechel/Documents/Apps/fbtest/build/android/res/layout/com_facebook_smart_device_dialog_fragment.xml:106: error: Error: No resource found that matches the given name (at 'style' with value '@style/com_facebook_auth_dialog_instructions_textview').
       [ERROR]   
       [ERROR] /Users/hknoechel/Documents/Apps/fbtest/build/android/res/layout/com_facebook_smart_device_dialog_fragment.xml:119: error: Error: No resource found that matches the given name (at 'textColor' with value '@color/com_facebook_device_auth_text').
       [ERROR]   
       [ERROR] /Users/hknoechel/Documents/Apps/fbtest/build/android/res/layout/com_facebook_tooltip_bubble.xml:44: error: Error: No resource found that matches the given name (at 'style' with value '@style/tooltip_bubble_text').
       [ERROR]   
       [ERROR] /Users/hknoechel/Documents/Apps/fbtest/build/android/res/layout/messenger_button_send_blue_large.xml:22: error: Error: No resource found that matches the given name (at 'style' with value '@style/MessengerButton.Blue.Large').
       [ERROR]   
       [ERROR] /Users/hknoechel/Documents/Apps/fbtest/build/android/res/layout/messenger_button_send_blue_large.xml:27: error: Error: No resource found that matches the given name (at 'style' with value '@style/MessengerButtonText.Blue.Large').
       [ERROR]   
       [ERROR] /Users/hknoechel/Documents/Apps/fbtest/build/android/res/layout/messenger_button_send_blue_small.xml:22: error: Error: No resource found that matches the given name (at 'style' with value '@style/MessengerButton.Blue.Small').
       [ERROR]   
       [ERROR] /Users/hknoechel/Documents/Apps/fbtest/build/android/res/layout/messenger_button_send_blue_small.xml:27: error: Error: No resource found that matches the given name (at 'style' with value '@style/MessengerButtonText.Blue.Small').
       [ERROR]   
       [ERROR] /Users/hknoechel/Documents/Apps/fbtest/build/android/res/layout/messenger_button_send_white_large.xml:22: error: Error: No resource found that matches the given name (at 'style' with value '@style/MessengerButton.White.Large').
       [ERROR]   
       [ERROR] /Users/hknoechel/Documents/Apps/fbtest/build/android/res/layout/messenger_button_send_white_large.xml:27: error: Error: No resource found that matches the given name (at 'style' with value '@style/MessengerButtonText.White.Large').
       [ERROR]   
       [ERROR] /Users/hknoechel/Documents/Apps/fbtest/build/android/res/layout/messenger_button_send_white_small.xml:22: error: Error: No resource found that matches the given name (at 'style' with value '@style/MessengerButton.White.Small').
       [ERROR]   
       [ERROR] /Users/hknoechel/Documents/Apps/fbtest/build/android/res/layout/messenger_button_send_white_small.xml:27: error: Error: No resource found that matches the given name (at 'style' with value '@style/MessengerButtonText.White.Small').
       [ERROR]   
       [ERROR] /Users/hknoechel/Documents/Apps/fbtest/build/android/res/drawable/com_facebook_auth_dialog_background.xml:24: error: Error: No resource found that matches the given name (at 'bottomLeftRadius' with value '@dimen/com_facebook_auth_dialog_corner_radius').
       [ERROR]   
       [ERROR] /Users/hknoechel/Documents/Apps/fbtest/build/android/res/drawable/com_facebook_auth_dialog_background.xml:24: error: Error: No resource found that matches the given name (at 'bottomRightRadius' with value '@dimen/com_facebook_auth_dialog_corner_radius').
       [ERROR]   
       [ERROR] /Users/hknoechel/Documents/Apps/fbtest/build/android/res/drawable/com_facebook_auth_dialog_background.xml:24: error: Error: No resource found that matches the given name (at 'topLeftRadius' with value '@dimen/com_facebook_auth_dialog_corner_radius_oversized').
       [ERROR]   
       [ERROR] /Users/hknoechel/Documents/Apps/fbtest/build/android/res/drawable/com_facebook_auth_dialog_background.xml:24: error: Error: No resource found that matches the given name (at 'topRightRadius' with value '@dimen/com_facebook_auth_dialog_corner_radius_oversized').
       [ERROR]   
       [ERROR] /Users/hknoechel/Documents/Apps/fbtest/build/android/res/drawable/com_facebook_auth_dialog_header_background.xml:24: error: Error: No resource found that matches the given name (at 'topLeftRadius' with value '@dimen/com_facebook_auth_dialog_corner_radius').
       [ERROR]   
       [ERROR] /Users/hknoechel/Documents/Apps/fbtest/build/android/res/drawable/com_facebook_auth_dialog_header_background.xml:24: error: Error: No resource found that matches the given name (at 'topRightRadius' with value '@dimen/com_facebook_auth_dialog_corner_radius').
       [ERROR]   
       [ERROR] /Users/hknoechel/Documents/Apps/fbtest/build/android/res/drawable/com_facebook_button_background.xml:26: error: Error: No resource found that matches the given name (at 'radius' with value '@dimen/com_facebook_button_corner_radius').
       [ERROR]   
       [ERROR] /Users/hknoechel/Documents/Apps/fbtest/build/android/res/drawable/com_facebook_button_background.xml:27: error: Error: No resource found that matches the given name (at 'color' with value '@color/com_facebook_button_background_color_focused_disabled').
       [ERROR]   
       [ERROR] /Users/hknoechel/Documents/Apps/fbtest/build/android/res/drawable/com_facebook_button_background.xml:33: error: Error: No resource found that matches the given name (at 'radius' with value '@dimen/com_facebook_button_corner_radius').
       [ERROR]   
       [ERROR] /Users/hknoechel/Documents/Apps/fbtest/build/android/res/drawable/com_facebook_button_background.xml:34: error: Error: No resource found that matches the given name (at 'color' with value '@color/com_facebook_button_background_color_disabled').
       [ERROR]   
       [ERROR] /Users/hknoechel/Documents/Apps/fbtest/build/android/res/drawable/com_facebook_button_background.xml:39: error: Error: No resource found that matches the given name (at 'radius' with value '@dimen/com_facebook_button_corner_radius').
       [ERROR]   
       [ERROR] /Users/hknoechel/Documents/Apps/fbtest/build/android/res/drawable/com_facebook_button_background.xml:40: error: Error: No resource found that matches the given name (at 'color' with value '@color/com_facebook_button_background_color_focused').
       [ERROR]   
       [ERROR] /Users/hknoechel/Documents/Apps/fbtest/build/android/res/drawable/com_facebook_button_background.xml:41: error: Error: No resource found that matches the given name (at 'color' with value '@color/com_facebook_button_border_color_focused').
       [ERROR]   
       [ERROR] /Users/hknoechel/Documents/Apps/fbtest/build/android/res/drawable/com_facebook_button_background.xml:49: error: Error: No resource found that matches the given name (at 'radius' with value '@dimen/com_facebook_button_corner_radius').
       [ERROR]   
       [ERROR] /Users/hknoechel/Documents/Apps/fbtest/build/android/res/drawable/com_facebook_button_background.xml:50: error: Error: No resource found that matches the given name (at 'color' with value '@color/com_facebook_button_background_color_pressed').
       [ERROR]   
       [ERROR] /Users/hknoechel/Documents/Apps/fbtest/build/android/res/drawable/com_facebook_button_background.xml:55: error: Error: No resource found that matches the given name (at 'radius' with value '@dimen/com_facebook_button_corner_radius').
       [ERROR]   
       [ERROR] /Users/hknoechel/Documents/Apps/fbtest/build/android/res/drawable/com_facebook_button_background.xml:56: error: Error: No resource found that matches the given name (at 'color' with value '@color/com_facebook_button_background_color').
       [ERROR]   
       [ERROR] /Users/hknoechel/Documents/Apps/fbtest/build/android/res/drawable/com_facebook_button_like_background.xml:25: error: Error: No resource found that matches the given name (at 'radius' with value '@dimen/com_facebook_button_corner_radius').
       [ERROR]   
       [ERROR] /Users/hknoechel/Documents/Apps/fbtest/build/android/res/drawable/com_facebook_button_like_background.xml:26: error: Error: No resource found that matches the given name (at 'color' with value '@color/com_facebook_button_background_color_pressed').
       [ERROR]   
       [ERROR] /Users/hknoechel/Documents/Apps/fbtest/build/android/res/drawable/com_facebook_button_like_background.xml:32: error: Error: No resource found that matches the given name (at 'radius' with value '@dimen/com_facebook_button_corner_radius').
       [ERROR]   
       [ERROR] /Users/hknoechel/Documents/Apps/fbtest/build/android/res/drawable/com_facebook_button_like_background.xml:33: error: Error: No resource found that matches the given name (at 'color' with value '@color/com_facebook_button_background_color_focused_disabled').
       [ERROR]   
       [ERROR] /Users/hknoechel/Documents/Apps/fbtest/build/android/res/drawable/com_facebook_button_like_background.xml:39: error: Error: No resource found that matches the given name (at 'radius' with value '@dimen/com_facebook_button_corner_radius').
       [ERROR]   
       [ERROR] /Users/hknoechel/Documents/Apps/fbtest/build/android/res/drawable/com_facebook_button_like_background.xml:40: error: Error: No resource found that matches the given name (at 'color' with value '@color/com_facebook_button_background_color_disabled').
       [ERROR]   
       [ERROR] /Users/hknoechel/Documents/Apps/fbtest/build/android/res/drawable/com_facebook_button_like_background.xml:45: error: Error: No resource found that matches the given name (at 'radius' with value '@dimen/com_facebook_button_corner_radius').
       [ERROR]   
       [ERROR] /Users/hknoechel/Documents/Apps/fbtest/build/android/res/drawable/com_facebook_button_like_background.xml:46: error: Error: No resource found that matches the given name (at 'color' with value '@color/com_facebook_button_background_color_focused').
       [ERROR]   
       [ERROR] /Users/hknoechel/Documents/Apps/fbtest/build/android/res/drawable/com_facebook_button_like_background.xml:51: error: Error: No resource found that matches the given name (at 'radius' with value '@dimen/com_facebook_button_corner_radius').
       [ERROR]   
       [ERROR] /Users/hknoechel/Documents/Apps/fbtest/build/android/res/drawable/com_facebook_button_like_background.xml:52: error: Error: No resource found that matches the given name (at 'color' with value '@color/com_facebook_button_background_color_selected').
       [ERROR]   
       [ERROR] /Users/hknoechel/Documents/Apps/fbtest/build/android/res/drawable/com_facebook_button_like_background.xml:57: error: Error: No resource found that matches the given name (at 'radius' with value '@dimen/com_facebook_button_corner_radius').
       [ERROR]   
       [ERROR] /Users/hknoechel/Documents/Apps/fbtest/build/android/res/drawable/com_facebook_button_like_background.xml:58: error: Error: No resource found that matches the given name (at 'color' with value '@color/com_facebook_button_background_color').
       [ERROR]   
       [ERROR] /Users/hknoechel/Documents/Apps/fbtest/build/android/res/drawable/com_facebook_button_login_background.xml:25: error: Error: No resource found that matches the given name (at 'radius' with value '@dimen/com_facebook_button_login_corner_radius').
       [ERROR]   
       [ERROR] /Users/hknoechel/Documents/Apps/fbtest/build/android/res/drawable/com_facebook_button_login_background.xml:26: error: Error: No resource found that matches the given name (at 'color' with value '@color/com_facebook_button_background_color_focused_disabled').
       [ERROR]   
       [ERROR] /Users/hknoechel/Documents/Apps/fbtest/build/android/res/drawable/com_facebook_button_login_background.xml:31: error: Error: No resource found that matches the given name (at 'radius' with value '@dimen/com_facebook_button_login_corner_radius').
       [ERROR]   
       [ERROR] /Users/hknoechel/Documents/Apps/fbtest/build/android/res/drawable/com_facebook_button_login_background.xml:32: error: Error: No resource found that matches the given name (at 'color' with value '@color/com_facebook_button_background_color_disabled').
       [ERROR]   
       [ERROR] /Users/hknoechel/Documents/Apps/fbtest/build/android/res/drawable/com_facebook_button_login_background.xml:37: error: Error: No resource found that matches the given name (at 'radius' with value '@dimen/com_facebook_button_login_corner_radius').
       [ERROR]   
       [ERROR] /Users/hknoechel/Documents/Apps/fbtest/build/android/res/drawable/com_facebook_button_login_background.xml:38: error: Error: No resource found that matches the given name (at 'color' with value '@color/com_facebook_button_background_color_focused').
       [ERROR]   
       [ERROR] /Users/hknoechel/Documents/Apps/fbtest/build/android/res/drawable/com_facebook_button_login_background.xml:39: error: Error: No resource found that matches the given name (at 'color' with value '@color/com_facebook_button_border_color_focused').
       [ERROR]   
       [ERROR] /Users/hknoechel/Documents/Apps/fbtest/build/android/res/drawable/com_facebook_button_login_background.xml:48: error: Error: No resource found that matches the given name (at 'radius' with value '@dimen/com_facebook_button_login_corner_radius').
       [ERROR]   
       [ERROR] /Users/hknoechel/Documents/Apps/fbtest/build/android/res/drawable/com_facebook_button_login_background.xml:49: error: Error: No resource found that matches the given name (at 'color' with value '@color/com_facebook_button_background_color_pressed').
       [ERROR]   
       [ERROR] /Users/hknoechel/Documents/Apps/fbtest/build/android/res/drawable/com_facebook_button_login_background.xml:54: error: Error: No resource found that matches the given name (at 'radius' with value '@dimen/com_facebook_button_login_corner_radius').
       [ERROR]   
       [ERROR] /Users/hknoechel/Documents/Apps/fbtest/build/android/res/drawable/com_facebook_button_login_background.xml:55: error: Error: No resource found that matches the given name (at 'color' with value '@color/com_facebook_button_login_background_color').
       [ERROR]   
       [ERROR] /Users/hknoechel/Documents/Apps/fbtest/build/android/res/drawable/com_facebook_button_login_silver_background.xml:25: error: Error: No resource found that matches the given name (at 'radius' with value '@dimen/com_facebook_button_corner_radius').
       [ERROR]   
       [ERROR] /Users/hknoechel/Documents/Apps/fbtest/build/android/res/drawable/com_facebook_button_login_silver_background.xml:26: error: Error: No resource found that matches the given name (at 'color' with value '@color/com_facebook_button_background_color_disabled').
       [ERROR]   
       [ERROR] /Users/hknoechel/Documents/Apps/fbtest/build/android/res/drawable/com_facebook_button_login_silver_background.xml:31: error: Error: No resource found that matches the given name (at 'radius' with value '@dimen/com_facebook_button_corner_radius').
       [ERROR]   
       [ERROR] /Users/hknoechel/Documents/Apps/fbtest/build/android/res/drawable/com_facebook_button_login_silver_background.xml:32: error: Error: No resource found that matches the given name (at 'color' with value '@color/com_facebook_button_login_silver_background_color_pressed').
       [ERROR]   
       [ERROR] /Users/hknoechel/Documents/Apps/fbtest/build/android/res/drawable/com_facebook_button_login_silver_background.xml:37: error: Error: No resource found that matches the given name (at 'radius' with value '@dimen/com_facebook_button_corner_radius').
       [ERROR]   
       [ERROR] /Users/hknoechel/Documents/Apps/fbtest/build/android/res/drawable/com_facebook_button_login_silver_background.xml:38: error: Error: No resource found that matches the given name (at 'color' with value '@color/com_facebook_button_login_silver_background_color').
       [ERROR]   
       [ERROR] /Users/hknoechel/Documents/Apps/fbtest/build/android/res/drawable/com_facebook_button_send_background.xml:26: error: Error: No resource found that matches the given name (at 'radius' with value '@dimen/com_facebook_button_corner_radius').
       [ERROR]   
       [ERROR] /Users/hknoechel/Documents/Apps/fbtest/build/android/res/drawable/com_facebook_button_send_background.xml:27: error: Error: No resource found that matches the given name (at 'color' with value '@color/com_facebook_button_background_color_focused_disabled').
       [ERROR]   
       [ERROR] /Users/hknoechel/Documents/Apps/fbtest/build/android/res/drawable/com_facebook_button_send_background.xml:33: error: Error: No resource found that matches the given name (at 'radius' with value '@dimen/com_facebook_button_corner_radius').
       [ERROR]   
       [ERROR] /Users/hknoechel/Documents/Apps/fbtest/build/android/res/drawable/com_facebook_button_send_background.xml:34: error: Error: No resource found that matches the given name (at 'color' with value '@color/com_facebook_button_background_color_disabled').
       [ERROR]   
       [ERROR] /Users/hknoechel/Documents/Apps/fbtest/build/android/res/drawable/com_facebook_button_send_background.xml:39: error: Error: No resource found that matches the given name (at 'radius' with value '@dimen/com_facebook_button_corner_radius').
       [ERROR]   
       [ERROR] /Users/hknoechel/Documents/Apps/fbtest/build/android/res/drawable/com_facebook_button_send_background.xml:40: error: Error: No resource found that matches the given name (at 'color' with value '@color/com_facebook_button_background_color_focused').
       [ERROR]   
       [ERROR] /Users/hknoechel/Documents/Apps/fbtest/build/android/res/drawable/com_facebook_button_send_background.xml:41: error: Error: No resource found that matches the given name (at 'color' with value '@color/com_facebook_button_border_color_focused').
       [ERROR]   
       [ERROR] /Users/hknoechel/Documents/Apps/fbtest/build/android/res/drawable/com_facebook_button_send_background.xml:50: error: Error: No resource found that matches the given name (at 'color' with value '@color/com_facebook_button_send_background_color_pressed').
       [ERROR]   
       [ERROR] /Users/hknoechel/Documents/Apps/fbtest/build/android/res/drawable/com_facebook_button_send_background.xml:56: error: Error: No resource found that matches the given name (at 'color' with value '@color/com_facebook_button_send_background_color').
       [ERROR]   
       [ERROR] /Users/hknoechel/Documents/Apps/fbtest/build/android/res/color/com_facebook_button_text_color.xml:22: error: Error: No resource found that matches the given name (at 'color' with value '@color/com_facebook_blue').
       [ERROR]   
       [ERROR] /Users/hknoechel/Documents/Apps/fbtest/build/android/res/color/com_facebook_send_button_text_color.xml:22: error: Error: No resource found that matches the given name (at 'color' with value '@color/com_facebook_messenger_blue').
       
    We had something similar in MOD-2283, but I don't remember what the solution was.
  3. Gary Mathews 2017-04-20

    [~hansknoechel] Looks like you're missing some resource .xml files? I'll take a look later.
  4. Hans Knöchel 2017-08-10

    [~gmathews] Can you finish the Android review? The latest changes in the PR will use the Android AAR builder to extract the .aar instead of copying the resources manually.
  5. Hans Knöchel 2017-08-25

    Moving out of 6.2.0, as it's not 100 % required for the release and we still can release it on Github between 6.2.0 and 7.0.0.
  6. Abir Mukherjee 2017-11-15

    Validated. Details are in the PR.

JSON Source