rho-tau-extensions 6.0.0 → 7.4.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (296) hide show
  1. checksums.yaml +4 -4
  2. data/libs/android_net_native_prebuilt/ext/build +22 -0
  3. data/libs/android_net_native_prebuilt/ext/build.bat +44 -0
  4. data/libs/android_net_native_prebuilt/ext/platform/android/android_net_native.jar +0 -0
  5. data/libs/android_net_native_prebuilt/ext/platform/android/lib/aarch64/libandroid_net_native.a +0 -0
  6. data/libs/android_net_native_prebuilt/ext/platform/android/lib/armeabi/libandroid_net_native.a +0 -0
  7. data/libs/android_net_native_prebuilt/ext/platform/android/lib/x86/libandroid_net_native.a +0 -0
  8. data/libs/android_net_native_prebuilt/ext.yml +8 -0
  9. data/libs/crosswalk/ext/platform/android/Rakefile +19 -1
  10. data/libs/crosswalk/ext/platform/android/adds/lib/armeabi/libxwalkcore.so +0 -0
  11. data/libs/crosswalk/ext/platform/android/adds/lib/armeabi/libxwalkdummy.so +0 -0
  12. data/libs/crosswalk/ext/platform/android/adds/lib/armeabi/native_lib_placeholder.stamp +0 -0
  13. data/libs/crosswalk/ext/platform/android/adds/lib/x86/libxwalkcore.so +0 -0
  14. data/libs/crosswalk/ext/platform/android/adds/lib/x86/libxwalkdummy.so +0 -0
  15. data/libs/crosswalk/ext/platform/android/adds/lib/x86/native_lib_placeholder.stamp +0 -0
  16. data/libs/crosswalk/ext/platform/android/adds/lib/xwalk_core_library_java.jar +0 -0
  17. data/libs/crosswalk/ext/platform/android/adds/res/layout/dropdown_item.xml +1 -1
  18. data/libs/crosswalk/ext/platform/android/adds/res/layout-v17/dropdown_item.xml +2 -2
  19. data/libs/crosswalk/ext/platform/android/adds/res/menu/select_action_menu.xml +8 -8
  20. data/libs/crosswalk/ext/platform/android/adds/res/raw/icudtl.dat +0 -0
  21. data/libs/crosswalk/ext/platform/android/adds/res/raw/xwalk.pak +0 -0
  22. data/libs/crosswalk/ext/platform/android/adds/res/raw/xwalk_100_percent.pak +0 -0
  23. data/libs/crosswalk/ext/platform/android/adds/res/values/android_ui_strings.xml +1 -0
  24. data/libs/crosswalk/ext/platform/android/adds/res/values/{xwalk_attrs.xml → attrs.xml} +0 -0
  25. data/libs/crosswalk/ext/platform/android/adds/res/values/attrs_03.xml +18 -0
  26. data/libs/crosswalk/ext/platform/android/adds/res/values/{xwalk_colors.xml → colors_xwalk.xml} +0 -0
  27. data/libs/crosswalk/ext/platform/android/adds/res/values/{ui_java_dimens.xml → dimens_03.xml} +1 -3
  28. data/libs/crosswalk/ext/platform/android/adds/res/values/{xwalk_dimens.xml → dimens_xwalk.xml} +0 -0
  29. data/libs/crosswalk/ext/platform/android/adds/res/values/ids_xwalk.xml +12 -0
  30. data/libs/crosswalk/ext/platform/android/adds/res/values/strings_00.xml +16 -0
  31. data/libs/crosswalk/ext/platform/android/adds/res/values/{xwalk_core_internal_java_strings.xml → strings_01.xml} +0 -0
  32. data/libs/crosswalk/ext/platform/android/adds/res/values/{xwalk_core_java_strings.xml → strings_02.xml} +0 -0
  33. data/libs/crosswalk/ext/platform/android/adds/res/values/{ui_java_strings.xml → strings_03.xml} +0 -0
  34. data/libs/crosswalk/ext/platform/android/adds/res/values/{xwalk_styles.xml → styles_00.xml} +0 -0
  35. data/libs/crosswalk/ext/platform/android/adds/res/values/{ui_java_styles.xml → styles_03.xml} +0 -0
  36. data/libs/crosswalk/ext/platform/android/adds/res/values/{xwalk_values.xml → values_00.xml} +0 -0
  37. data/libs/crosswalk/ext/platform/android/adds/res/values/xwalk_app_strings.xml +7 -10
  38. data/libs/crosswalk/ext/platform/android/adds/res/values/xwalk_resources_list.xml +2 -1
  39. data/libs/crosswalk/ext/platform/android/adds/res/values-am/android_ui_strings.xml +1 -0
  40. data/libs/crosswalk/ext/platform/android/adds/res/values-ar/android_ui_strings.xml +1 -0
  41. data/libs/crosswalk/ext/platform/android/adds/res/values-bg/android_ui_strings.xml +1 -0
  42. data/libs/crosswalk/ext/platform/android/adds/res/values-ca/android_ui_strings.xml +1 -0
  43. data/libs/crosswalk/ext/platform/android/adds/res/values-cs/android_ui_strings.xml +1 -0
  44. data/libs/crosswalk/ext/platform/android/adds/res/values-da/android_ui_strings.xml +4 -3
  45. data/libs/crosswalk/ext/platform/android/adds/res/values-de/android_ui_strings.xml +1 -0
  46. data/libs/crosswalk/ext/platform/android/adds/res/values-el/android_ui_strings.xml +1 -0
  47. data/libs/crosswalk/ext/platform/android/adds/res/values-en-rGB/android_ui_strings.xml +1 -0
  48. data/libs/crosswalk/ext/platform/android/adds/res/values-es/android_ui_strings.xml +1 -0
  49. data/libs/crosswalk/ext/platform/android/adds/res/values-es-rUS/android_ui_strings.xml +1 -0
  50. data/libs/crosswalk/ext/platform/android/adds/res/values-fa/android_ui_strings.xml +2 -1
  51. data/libs/crosswalk/ext/platform/android/adds/res/values-fi/android_ui_strings.xml +1 -0
  52. data/libs/crosswalk/ext/platform/android/adds/res/values-fr/android_ui_strings.xml +1 -0
  53. data/libs/crosswalk/ext/platform/android/adds/res/values-hi/android_ui_strings.xml +2 -1
  54. data/libs/crosswalk/ext/platform/android/adds/res/values-hr/android_ui_strings.xml +1 -0
  55. data/libs/crosswalk/ext/platform/android/adds/res/values-hu/android_ui_strings.xml +1 -0
  56. data/libs/crosswalk/ext/platform/android/adds/res/values-in/android_ui_strings.xml +1 -0
  57. data/libs/crosswalk/ext/platform/android/adds/res/values-it/android_ui_strings.xml +1 -0
  58. data/libs/crosswalk/ext/platform/android/adds/res/values-iw/android_ui_strings.xml +1 -0
  59. data/libs/crosswalk/ext/platform/android/adds/res/values-ja/android_ui_strings.xml +1 -0
  60. data/libs/crosswalk/ext/platform/android/adds/res/values-ko/android_ui_strings.xml +1 -0
  61. data/libs/crosswalk/ext/platform/android/adds/res/values-lt/android_ui_strings.xml +1 -0
  62. data/libs/crosswalk/ext/platform/android/adds/res/values-lv/android_ui_strings.xml +1 -0
  63. data/libs/crosswalk/ext/platform/android/adds/res/values-nb/android_ui_strings.xml +1 -0
  64. data/libs/crosswalk/ext/platform/android/adds/res/values-nl/android_ui_strings.xml +1 -0
  65. data/libs/crosswalk/ext/platform/android/adds/res/values-pl/android_ui_strings.xml +1 -0
  66. data/libs/crosswalk/ext/platform/android/adds/res/values-pt-rBR/android_ui_strings.xml +1 -0
  67. data/libs/crosswalk/ext/platform/android/adds/res/values-pt-rPT/android_ui_strings.xml +1 -0
  68. data/libs/crosswalk/ext/platform/android/adds/res/values-ro/android_ui_strings.xml +1 -0
  69. data/libs/crosswalk/ext/platform/android/adds/res/values-ru/android_ui_strings.xml +1 -0
  70. data/libs/crosswalk/ext/platform/android/adds/res/values-sk/android_ui_strings.xml +1 -0
  71. data/libs/crosswalk/ext/platform/android/adds/res/values-sl/android_ui_strings.xml +1 -0
  72. data/libs/crosswalk/ext/platform/android/adds/res/values-sr/android_ui_strings.xml +1 -0
  73. data/libs/crosswalk/ext/platform/android/adds/res/values-sv/android_ui_strings.xml +1 -0
  74. data/libs/crosswalk/ext/platform/android/adds/res/values-sw/android_ui_strings.xml +2 -1
  75. data/libs/crosswalk/ext/platform/android/adds/res/values-th/android_ui_strings.xml +1 -0
  76. data/libs/crosswalk/ext/platform/android/adds/res/values-tl/android_ui_strings.xml +1 -0
  77. data/libs/crosswalk/ext/platform/android/adds/res/values-tr/android_ui_strings.xml +1 -0
  78. data/libs/crosswalk/ext/platform/android/adds/res/values-uk/android_ui_strings.xml +1 -0
  79. data/libs/crosswalk/ext/platform/android/adds/res/values-v17/{ui_java_styles.xml → styles_03.xml} +0 -0
  80. data/libs/crosswalk/ext/platform/android/adds/res/values-v21/{ui_java_styles.xml → styles_03.xml} +0 -0
  81. data/libs/crosswalk/ext/platform/android/adds/res/values-vi/android_ui_strings.xml +1 -0
  82. data/libs/crosswalk/ext/platform/android/adds/res/values-zh-rCN/android_ui_strings.xml +1 -0
  83. data/libs/crosswalk/ext/platform/android/adds/res/values-zh-rTW/android_ui_strings.xml +1 -0
  84. data/libs/crosswalk/ext/platform/android/src/com/tautechnologies/tau/crosswalk/TauXWalkWebView.java +18 -1
  85. data/libs/enterprise-barcode/ext/platform/android/adds/lib/aarch64/liballbarcode.a +0 -0
  86. data/libs/enterprise-barcode/ext/platform/android/adds/lib/armeabi/liballbarcode.a +0 -0
  87. data/libs/enterprise-barcode/ext/platform/android/adds/lib/x86/liballbarcode.a +0 -0
  88. data/libs/enterprise-barcode/ext/platform/android/allbarcode.jar +0 -0
  89. data/libs/enterprise-barcode/ext/platform/iphone/Barcode.xcodeproj/project.pbxproj +8 -4
  90. data/libs/enterprise-barcode/ext/platform/iphone/Rakefile +9 -58
  91. data/libs/fcm-push-18/ext/android/AndroidManifest.rb +10 -0
  92. data/libs/fcm-push-18/ext/android/ApplicationManifestAdds.erb +39 -0
  93. data/libs/fcm-push-18/ext/android/Rakefile +187 -0
  94. data/libs/fcm-push-18/ext/android/ext_java.files +3 -0
  95. data/libs/fcm-push-18/ext/android/ext_native.files +1 -0
  96. data/libs/fcm-push-18/ext/android/jni/src/fcmpushclient.cpp +215 -0
  97. data/libs/fcm-push-18/ext/android/jni/src/fcmpushclient.h +74 -0
  98. data/libs/fcm-push-18/ext/android/res/res/values/fireBaseValues.xml +5 -0
  99. data/libs/fcm-push-18/ext/android/src/com/rhomobile/rhodes/fcm/FCMFacade.java +164 -0
  100. data/libs/fcm-push-18/ext/android/src/com/rhomobile/rhodes/fcm/FCMIntentService.java +219 -0
  101. data/libs/fcm-push-18/ext/android/src/com/rhomobile/rhodes/fcm/FCMListener.java +88 -0
  102. data/libs/fcm-push-18/ext/build +16 -0
  103. data/libs/fcm-push-18/ext/build.bat +8 -0
  104. data/libs/fcm-push-18/ext/fcm.xml +9 -0
  105. data/libs/fcm-push-18/ext/iphone/ApplePush_Prefix.pch +7 -0
  106. data/libs/fcm-push-18/ext/iphone/Firebase.h +68 -0
  107. data/libs/fcm-push-18/ext/iphone/Frameworks/FirebaseAnalytics.framework/FirebaseAnalytics +0 -0
  108. data/libs/fcm-push-18/ext/iphone/Frameworks/FirebaseAnalytics.framework/Headers/FIRAnalytics+AppDelegate.h +62 -0
  109. data/libs/fcm-push-18/ext/iphone/Frameworks/FirebaseAnalytics.framework/Headers/FIRAnalytics.h +115 -0
  110. data/libs/fcm-push-18/ext/iphone/Frameworks/FirebaseAnalytics.framework/Headers/FIRAnalyticsConfiguration.h +1 -0
  111. data/libs/fcm-push-18/ext/iphone/Frameworks/FirebaseAnalytics.framework/Headers/FIRAnalyticsSwiftNameSupport.h +13 -0
  112. data/libs/fcm-push-18/ext/iphone/Frameworks/FirebaseAnalytics.framework/Headers/FIRApp.h +1 -0
  113. data/libs/fcm-push-18/ext/iphone/Frameworks/FirebaseAnalytics.framework/Headers/FIRConfiguration.h +1 -0
  114. data/libs/fcm-push-18/ext/iphone/Frameworks/FirebaseAnalytics.framework/Headers/FIREventNames.h +389 -0
  115. data/libs/fcm-push-18/ext/iphone/Frameworks/FirebaseAnalytics.framework/Headers/FIROptions.h +1 -0
  116. data/libs/fcm-push-18/ext/iphone/Frameworks/FirebaseAnalytics.framework/Headers/FIRParameterNames.h +485 -0
  117. data/libs/fcm-push-18/ext/iphone/Frameworks/FirebaseAnalytics.framework/Headers/FIRUserPropertyNames.h +15 -0
  118. data/libs/fcm-push-18/ext/iphone/Frameworks/FirebaseAnalytics.framework/Headers/FirebaseAnalytics.h +10 -0
  119. data/libs/fcm-push-18/ext/iphone/Frameworks/FirebaseAnalytics.framework/Modules/module.modulemap +10 -0
  120. data/libs/fcm-push-18/ext/iphone/Frameworks/FirebaseCore.framework/FirebaseCore +0 -0
  121. data/libs/fcm-push-18/ext/iphone/Frameworks/FirebaseCore.framework/Headers/FIRAnalyticsConfiguration.h +52 -0
  122. data/libs/fcm-push-18/ext/iphone/Frameworks/FirebaseCore.framework/Headers/FIRApp.h +130 -0
  123. data/libs/fcm-push-18/ext/iphone/Frameworks/FirebaseCore.framework/Headers/FIRConfiguration.h +78 -0
  124. data/libs/fcm-push-18/ext/iphone/Frameworks/FirebaseCore.framework/Headers/FIRLoggerLevel.h +35 -0
  125. data/libs/fcm-push-18/ext/iphone/Frameworks/FirebaseCore.framework/Headers/FIROptions.h +133 -0
  126. data/libs/fcm-push-18/ext/iphone/Frameworks/FirebaseCore.framework/Headers/FirebaseCore.h +5 -0
  127. data/libs/fcm-push-18/ext/iphone/Frameworks/FirebaseCore.framework/Modules/module.modulemap +7 -0
  128. data/libs/fcm-push-18/ext/iphone/Frameworks/FirebaseCoreDiagnostics.framework/FirebaseCoreDiagnostics +0 -0
  129. data/libs/fcm-push-18/ext/iphone/Frameworks/FirebaseCoreDiagnostics.framework/Modules/module.modulemap +6 -0
  130. data/libs/fcm-push-18/ext/iphone/Frameworks/FirebaseInstanceID.framework/FirebaseInstanceID +0 -0
  131. data/libs/fcm-push-18/ext/iphone/Frameworks/FirebaseInstanceID.framework/Headers/FIRInstanceID.h +276 -0
  132. data/libs/fcm-push-18/ext/iphone/Frameworks/FirebaseInstanceID.framework/Headers/FirebaseInstanceID.h +1 -0
  133. data/libs/fcm-push-18/ext/iphone/Frameworks/FirebaseInstanceID.framework/Modules/module.modulemap +7 -0
  134. data/libs/fcm-push-18/ext/iphone/Frameworks/FirebaseMessaging.framework/FirebaseMessaging +0 -0
  135. data/libs/fcm-push-18/ext/iphone/Frameworks/FirebaseMessaging.framework/Headers/FIRMessaging.h +508 -0
  136. data/libs/fcm-push-18/ext/iphone/Frameworks/FirebaseMessaging.framework/Headers/FirebaseMessaging.h +1 -0
  137. data/libs/fcm-push-18/ext/iphone/Frameworks/FirebaseMessaging.framework/Modules/module.modulemap +8 -0
  138. data/libs/fcm-push-18/ext/iphone/Frameworks/FirebaseNanoPB.framework/FirebaseNanoPB +0 -0
  139. data/libs/fcm-push-18/ext/iphone/Frameworks/GoogleToolboxForMac.framework/GoogleToolboxForMac +0 -0
  140. data/libs/fcm-push-18/ext/iphone/Frameworks/GoogleToolboxForMac.framework/Modules/module.modulemap +5 -0
  141. data/libs/fcm-push-18/ext/iphone/Frameworks/Protobuf.framework/Modules/module.modulemap +5 -0
  142. data/libs/fcm-push-18/ext/iphone/Frameworks/Protobuf.framework/Protobuf +0 -0
  143. data/libs/fcm-push-18/ext/iphone/Frameworks/nanopb.framework/Modules/module.modulemap +5 -0
  144. data/libs/fcm-push-18/ext/iphone/Frameworks/nanopb.framework/nanopb +0 -0
  145. data/libs/fcm-push-18/ext/iphone/Rakefile +30 -0
  146. data/libs/fcm-push-18/ext/iphone/fcm-push.xcodeproj/project.pbxproj +370 -0
  147. data/libs/fcm-push-18/ext/iphone/impl/PushNotificationsReceiver.h +28 -0
  148. data/libs/fcm-push-18/ext/iphone/impl/PushNotificationsReceiver.m +27 -0
  149. data/libs/fcm-push-18/ext/iphone/impl/PushNotificationsReceiver.mm +234 -0
  150. data/libs/fcm-push-18/ext/iphone/impl/applePushSetup.c +10 -0
  151. data/libs/fcm-push-18/ext/iphone/impl/applepushclient.h +69 -0
  152. data/libs/fcm-push-18/ext/iphone/impl/applepushclient.mm +164 -0
  153. data/libs/fcm-push-18/ext/iphone/impl/readme.txt +7 -0
  154. data/libs/fcm-push-18/ext/platform/iphone/impl/readme.txt +7 -0
  155. data/libs/fcm-push-18/ext.yml +20 -0
  156. data/libs/nodejs/ext/platform/android/jxCore/jx.h +17 -1
  157. data/libs/nodejs/ext/platform/android/jxCore/libcares_arm.a +0 -0
  158. data/libs/nodejs/ext/platform/android/jxCore/libcares_ia32.a +0 -0
  159. data/libs/nodejs/ext/platform/android/jxCore/libcares_x64.a +0 -0
  160. data/libs/nodejs/ext/platform/android/jxCore/libchrome_zlib_arm.a +0 -0
  161. data/libs/nodejs/ext/platform/android/jxCore/libchrome_zlib_ia32.a +0 -0
  162. data/libs/nodejs/ext/platform/android/jxCore/libchrome_zlib_x64.a +0 -0
  163. data/libs/nodejs/ext/platform/android/jxCore/libhttp_parser_arm.a +0 -0
  164. data/libs/nodejs/ext/platform/android/jxCore/libhttp_parser_ia32.a +0 -0
  165. data/libs/nodejs/ext/platform/android/jxCore/libhttp_parser_x64.a +0 -0
  166. data/libs/nodejs/ext/platform/android/jxCore/libjx_arm.a +0 -0
  167. data/libs/nodejs/ext/platform/android/jxCore/libjx_ia32.a +0 -0
  168. data/libs/nodejs/ext/platform/android/jxCore/libjx_x64.a +0 -0
  169. data/libs/nodejs/ext/platform/android/jxCore/libopenssl_arm.a +0 -0
  170. data/libs/nodejs/ext/platform/android/jxCore/libopenssl_ia32.a +0 -0
  171. data/libs/nodejs/ext/platform/android/jxCore/libopenssl_x64.a +0 -0
  172. data/libs/nodejs/ext/platform/android/jxCore/libsqlite3_arm.a +0 -0
  173. data/libs/nodejs/ext/platform/android/jxCore/libsqlite3_ia32.a +0 -0
  174. data/libs/nodejs/ext/platform/android/jxCore/libsqlite3_x64.a +0 -0
  175. data/libs/nodejs/ext/platform/android/jxCore/libuv_arm.a +0 -0
  176. data/libs/nodejs/ext/platform/android/jxCore/libuv_ia32.a +0 -0
  177. data/libs/nodejs/ext/platform/android/jxCore/libuv_x64.a +0 -0
  178. data/libs/nodejs/ext/platform/android/jxCore/libv8_base_arm.a +0 -0
  179. data/libs/nodejs/ext/platform/android/jxCore/libv8_base_ia32.a +0 -0
  180. data/libs/nodejs/ext/platform/android/jxCore/libv8_base_x64.a +0 -0
  181. data/libs/nodejs/ext/platform/android/jxCore/libv8_nosnapshot_arm.a +0 -0
  182. data/libs/nodejs/ext/platform/android/jxCore/libv8_nosnapshot_ia32.a +0 -0
  183. data/libs/nodejs/ext/platform/android/jxCore/libv8_nosnapshot_x64.a +0 -0
  184. data/libs/nodejs/ext/platform/iphone/Nodejs.xcodeproj/project.pbxproj +8 -4
  185. data/libs/nodejs/ext/platform/iphone/Rakefile +9 -62
  186. data/libs/nodejs/ext/platform/iphone/jxCore/jx.h +17 -1
  187. data/libs/nodejs/ext/platform/iphone/jxCore/libcares.a +0 -0
  188. data/libs/nodejs/ext/platform/iphone/jxCore/libchrome_zlib.a +0 -0
  189. data/libs/nodejs/ext/platform/iphone/jxCore/libhttp_parser.a +0 -0
  190. data/libs/nodejs/ext/platform/iphone/jxCore/libjx.a +0 -0
  191. data/libs/nodejs/ext/platform/iphone/jxCore/libmozjs.a +0 -0
  192. data/libs/nodejs/ext/platform/iphone/jxCore/libopenssl.a +0 -0
  193. data/libs/nodejs/ext/platform/iphone/jxCore/libsqlite3.a +0 -0
  194. data/libs/nodejs/ext/platform/iphone/jxCore/libuv.a +0 -0
  195. data/libs/openssl.so-edge/ext/android/armeabi/libcrypto.a +0 -0
  196. data/libs/openssl.so-edge/ext/android/armeabi/libssl.a +0 -0
  197. data/libs/openssl.so-edge/ext/android/x86/libcrypto.a +0 -0
  198. data/libs/openssl.so-edge/ext/android/x86/libssl.a +0 -0
  199. data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/internal/asn1t.h +19 -0
  200. data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/internal/dso.h +23 -0
  201. data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/internal/thread_once.h +5 -2
  202. data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/asn1.h +5 -2
  203. data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/asn1t.h +5 -0
  204. data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/bio.h +9 -12
  205. data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/bn.h +1 -1
  206. data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/buffer.h +1 -4
  207. data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/conf.h +1 -0
  208. data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/crypto.h +5 -1
  209. data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/ct.h +17 -2
  210. data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/dh.h +24 -6
  211. data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/dsa.h +1 -0
  212. data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/e_os2.h +3 -16
  213. data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/ec.h +7 -12
  214. data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/engine.h +0 -2
  215. data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/err.h +3 -2
  216. data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/evp.h +11 -1
  217. data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/lhash.h +13 -0
  218. data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/objects.h +2 -2
  219. data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/ocsp.h +3 -16
  220. data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/opensslconf.h +20 -8
  221. data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/opensslv.h +3 -3
  222. data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/rsa.h +2 -0
  223. data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/seed.h +1 -3
  224. data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/srtp.h +1 -1
  225. data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/ssl.h +85 -52
  226. data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/ssl3.h +4 -1
  227. data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/tls1.h +6 -6
  228. data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/ui.h +10 -0
  229. data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/x509.h +1 -1
  230. data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/x509_vfy.h +5 -0
  231. data/libs/openssl.so-edge/ext/openssl-1-1-0-stable/include/openssl/x509v3.h +1 -0
  232. data/libs/rexml-edge/rexml/attlistdecl.rb +63 -0
  233. data/libs/rexml-edge/rexml/attribute.rb +192 -0
  234. data/libs/rexml-edge/rexml/cdata.rb +68 -0
  235. data/libs/rexml-edge/rexml/child.rb +97 -0
  236. data/libs/rexml-edge/rexml/comment.rb +80 -0
  237. data/libs/rexml-edge/rexml/doctype.rb +270 -0
  238. data/libs/rexml-edge/rexml/document.rb +291 -0
  239. data/libs/rexml-edge/rexml/dtd/attlistdecl.rb +11 -0
  240. data/libs/rexml-edge/rexml/dtd/dtd.rb +47 -0
  241. data/libs/rexml-edge/rexml/dtd/elementdecl.rb +18 -0
  242. data/libs/rexml-edge/rexml/dtd/entitydecl.rb +57 -0
  243. data/libs/rexml-edge/rexml/dtd/notationdecl.rb +40 -0
  244. data/libs/rexml-edge/rexml/element.rb +1241 -0
  245. data/libs/rexml-edge/rexml/encoding.rb +51 -0
  246. data/libs/rexml-edge/rexml/entity.rb +174 -0
  247. data/libs/rexml-edge/rexml/formatters/default.rb +112 -0
  248. data/libs/rexml-edge/rexml/formatters/pretty.rb +142 -0
  249. data/libs/rexml-edge/rexml/formatters/transitive.rb +58 -0
  250. data/libs/rexml-edge/rexml/functions.rb +418 -0
  251. data/libs/rexml-edge/rexml/instruction.rb +71 -0
  252. data/libs/rexml-edge/rexml/light/node.rb +196 -0
  253. data/libs/rexml-edge/rexml/namespace.rb +48 -0
  254. data/libs/rexml-edge/rexml/node.rb +76 -0
  255. data/libs/rexml-edge/rexml/output.rb +30 -0
  256. data/libs/rexml-edge/rexml/parent.rb +166 -0
  257. data/libs/rexml-edge/rexml/parseexception.rb +52 -0
  258. data/libs/rexml-edge/rexml/parsers/baseparser.rb +533 -0
  259. data/libs/rexml-edge/rexml/parsers/lightparser.rb +59 -0
  260. data/libs/rexml-edge/rexml/parsers/pullparser.rb +197 -0
  261. data/libs/rexml-edge/rexml/parsers/sax2parser.rb +273 -0
  262. data/libs/rexml-edge/rexml/parsers/streamparser.rb +61 -0
  263. data/libs/rexml-edge/rexml/parsers/treeparser.rb +101 -0
  264. data/libs/rexml-edge/rexml/parsers/ultralightparser.rb +57 -0
  265. data/libs/rexml-edge/rexml/parsers/xpathparser.rb +657 -0
  266. data/libs/rexml-edge/rexml/quickpath.rb +266 -0
  267. data/libs/rexml-edge/rexml/rexml.rb +32 -0
  268. data/libs/rexml-edge/rexml/sax2listener.rb +98 -0
  269. data/libs/rexml-edge/rexml/security.rb +28 -0
  270. data/libs/rexml-edge/rexml/source.rb +297 -0
  271. data/libs/rexml-edge/rexml/streamlistener.rb +93 -0
  272. data/libs/rexml-edge/rexml/syncenumerator.rb +33 -0
  273. data/libs/rexml-edge/rexml/text.rb +426 -0
  274. data/libs/rexml-edge/rexml/undefinednamespaceexception.rb +9 -0
  275. data/libs/rexml-edge/rexml/validation/relaxng.rb +539 -0
  276. data/libs/rexml-edge/rexml/validation/validation.rb +144 -0
  277. data/libs/rexml-edge/rexml/validation/validationexception.rb +10 -0
  278. data/libs/rexml-edge/rexml/xmldecl.rb +116 -0
  279. data/libs/rexml-edge/rexml/xmltokens.rb +85 -0
  280. data/libs/rexml-edge/rexml/xpath.rb +81 -0
  281. data/libs/rexml-edge/rexml/xpath_parser.rb +704 -0
  282. data/version +1 -1
  283. metadata +144 -27
  284. data/libs/crosswalk/ext/platform/android/adds/res/drawable/launchscreen_bg.xml +0 -19
  285. data/libs/crosswalk/ext/platform/android/adds/res/drawable-hdpi/crosswalk.png +0 -0
  286. data/libs/crosswalk/ext/platform/android/adds/res/drawable-ldpi/crosswalk.png +0 -0
  287. data/libs/crosswalk/ext/platform/android/adds/res/drawable-mdpi/crosswalk.png +0 -0
  288. data/libs/crosswalk/ext/platform/android/adds/res/drawable-xhdpi/crosswalk.png +0 -0
  289. data/libs/crosswalk/ext/platform/android/adds/res/layout/autofill_suggestion_item.xml +0 -7
  290. data/libs/crosswalk/ext/platform/android/adds/res/layout-v17/autofill_suggestion_item.xml +0 -18
  291. data/libs/crosswalk/ext/platform/android/adds/res/raw/contacts_api.js +0 -206
  292. data/libs/crosswalk/ext/platform/android/adds/res/raw/device_capabilities_api.js +0 -231
  293. data/libs/crosswalk/ext/platform/android/adds/res/raw/messaging_api.js +0 -359
  294. data/libs/crosswalk/ext/platform/android/adds/res/raw/presentation_api.js +0 -144
  295. data/libs/crosswalk/ext/platform/android/adds/res/values/ui_java_attrs.xml +0 -9
  296. data/libs/crosswalk/ext/platform/android/adds/res/values-v14/theme.xml +0 -16
@@ -0,0 +1,130 @@
1
+ /*
2
+ * Copyright 2017 Google
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+
17
+ #import <Foundation/Foundation.h>
18
+
19
+ #if TARGET_OS_IOS
20
+ // TODO: Remove UIKit import on next breaking change release
21
+ #import <UIKit/UIKit.h>
22
+ #endif
23
+
24
+ @class FIROptions;
25
+
26
+ NS_ASSUME_NONNULL_BEGIN
27
+
28
+ /** A block that takes a BOOL and has no return value. */
29
+ typedef void (^FIRAppVoidBoolCallback)(BOOL success) NS_SWIFT_NAME(FirebaseAppVoidBoolCallback);
30
+
31
+ /**
32
+ * The entry point of Firebase SDKs.
33
+ *
34
+ * Initialize and configure FIRApp using +[FIRApp configure]
35
+ * or other customized ways as shown below.
36
+ *
37
+ * The logging system has two modes: default mode and debug mode. In default mode, only logs with
38
+ * log level Notice, Warning and Error will be sent to device. In debug mode, all logs will be sent
39
+ * to device. The log levels that Firebase uses are consistent with the ASL log levels.
40
+ *
41
+ * Enable debug mode by passing the -FIRDebugEnabled argument to the application. You can add this
42
+ * argument in the application's Xcode scheme. When debug mode is enabled via -FIRDebugEnabled,
43
+ * further executions of the application will also be in debug mode. In order to return to default
44
+ * mode, you must explicitly disable the debug mode with the application argument -FIRDebugDisabled.
45
+ *
46
+ * It is also possible to change the default logging level in code by calling setLoggerLevel: on
47
+ * the FIRConfiguration interface.
48
+ */
49
+ NS_SWIFT_NAME(FirebaseApp)
50
+ @interface FIRApp : NSObject
51
+
52
+ /**
53
+ * Configures a default Firebase app. Raises an exception if any configuration step fails. The
54
+ * default app is named "__FIRAPP_DEFAULT". This method should be called after the app is launched
55
+ * and before using Firebase services. This method is thread safe.
56
+ */
57
+ + (void)configure;
58
+
59
+ /**
60
+ * Configures the default Firebase app with the provided options. The default app is named
61
+ * "__FIRAPP_DEFAULT". Raises an exception if any configuration step fails. This method is thread
62
+ * safe.
63
+ *
64
+ * @param options The Firebase application options used to configure the service.
65
+ */
66
+ + (void)configureWithOptions:(FIROptions *)options NS_SWIFT_NAME(configure(options:));
67
+
68
+ /**
69
+ * Configures a Firebase app with the given name and options. Raises an exception if any
70
+ * configuration step fails. This method is thread safe.
71
+ *
72
+ * @param name The application's name given by the developer. The name should should only contain
73
+ Letters, Numbers and Underscore.
74
+ * @param options The Firebase application options used to configure the services.
75
+ */
76
+ // clang-format off
77
+ + (void)configureWithName:(NSString *)name
78
+ options:(FIROptions *)options NS_SWIFT_NAME(configure(name:options:));
79
+ // clang-format on
80
+
81
+ /**
82
+ * Returns the default app, or nil if the default app does not exist.
83
+ */
84
+ + (nullable FIRApp *)defaultApp NS_SWIFT_NAME(app());
85
+
86
+ /**
87
+ * Returns a previously created FIRApp instance with the given name, or nil if no such app exists.
88
+ * This method is thread safe.
89
+ */
90
+ + (nullable FIRApp *)appNamed:(NSString *)name NS_SWIFT_NAME(app(name:));
91
+
92
+ #if defined(__IPHONE_10_0) && __IPHONE_OS_VERSION_MAX_ALLOWED >= __IPHONE_10_0
93
+ /**
94
+ * Returns the set of all extant FIRApp instances, or nil if there are no FIRApp instances. This
95
+ * method is thread safe.
96
+ */
97
+ @property(class, readonly, nullable) NSDictionary<NSString *, FIRApp *> *allApps;
98
+ #else
99
+ /**
100
+ * Returns the set of all extant FIRApp instances, or nil if there are no FIRApp instances. This
101
+ * method is thread safe.
102
+ */
103
+ + (nullable NSDictionary<NSString *, FIRApp *> *)allApps NS_SWIFT_NAME(allApps());
104
+ #endif // defined(__IPHONE_10_0) && __IPHONE_OS_VERSION_MAX_ALLOWED >= __IPHONE_10_0
105
+
106
+ /**
107
+ * Cleans up the current FIRApp, freeing associated data and returning its name to the pool for
108
+ * future use. This method is thread safe.
109
+ */
110
+ - (void)deleteApp:(FIRAppVoidBoolCallback)completion;
111
+
112
+ /**
113
+ * FIRApp instances should not be initialized directly. Call +[FIRApp configure],
114
+ * +[FIRApp configureWithOptions:], or +[FIRApp configureWithNames:options:] directly.
115
+ */
116
+ - (instancetype)init NS_UNAVAILABLE;
117
+
118
+ /**
119
+ * Gets the name of this app.
120
+ */
121
+ @property(nonatomic, copy, readonly) NSString *name;
122
+
123
+ /**
124
+ * Gets a copy of the options for this app. These are non-modifiable.
125
+ */
126
+ @property(nonatomic, copy, readonly) FIROptions *options;
127
+
128
+ @end
129
+
130
+ NS_ASSUME_NONNULL_END
@@ -0,0 +1,78 @@
1
+ /*
2
+ * Copyright 2017 Google
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+
17
+ #import <Foundation/Foundation.h>
18
+
19
+ #import "FIRAnalyticsConfiguration.h"
20
+ #import "FIRLoggerLevel.h"
21
+
22
+ /**
23
+ * The log levels used by FIRConfiguration.
24
+ */
25
+ typedef NS_ENUM(NSInteger, FIRLogLevel) {
26
+ /** Error */
27
+ kFIRLogLevelError __deprecated = 0,
28
+ /** Warning */
29
+ kFIRLogLevelWarning __deprecated,
30
+ /** Info */
31
+ kFIRLogLevelInfo __deprecated,
32
+ /** Debug */
33
+ kFIRLogLevelDebug __deprecated,
34
+ /** Assert */
35
+ kFIRLogLevelAssert __deprecated,
36
+ /** Max */
37
+ kFIRLogLevelMax __deprecated = kFIRLogLevelAssert
38
+ } DEPRECATED_MSG_ATTRIBUTE(
39
+ "Use -FIRDebugEnabled and -FIRDebugDisabled or setLoggerLevel. See FIRApp.h for more details.");
40
+
41
+ NS_ASSUME_NONNULL_BEGIN
42
+
43
+ /**
44
+ * This interface provides global level properties that the developer can tweak, and the singleton
45
+ * of the Firebase Analytics configuration class.
46
+ */
47
+ NS_SWIFT_NAME(FirebaseConfiguration)
48
+ @interface FIRConfiguration : NSObject
49
+
50
+ #if defined(__IPHONE_10_0) && __IPHONE_OS_VERSION_MAX_ALLOWED >= __IPHONE_10_0
51
+ /** Returns the shared configuration object. */
52
+ @property(class, nonatomic, readonly) FIRConfiguration *sharedInstance NS_SWIFT_NAME(shared);
53
+ #else
54
+ /** Returns the shared configuration object. */
55
+ + (FIRConfiguration *)sharedInstance NS_SWIFT_NAME(shared());
56
+ #endif // defined(__IPHONE_10_0) && __IPHONE_OS_VERSION_MAX_ALLOWED >= __IPHONE_10_0
57
+
58
+ /** The configuration class for Firebase Analytics. */
59
+ @property(nonatomic, readwrite) FIRAnalyticsConfiguration *analyticsConfiguration;
60
+
61
+ /** Global log level. Defaults to kFIRLogLevelError. */
62
+ @property(nonatomic, readwrite, assign) FIRLogLevel logLevel DEPRECATED_MSG_ATTRIBUTE(
63
+ "Use -FIRDebugEnabled and -FIRDebugDisabled or setLoggerLevel. See FIRApp.h for more details.");
64
+
65
+ /**
66
+ * Sets the logging level for internal Firebase logging. Firebase will only log messages
67
+ * that are logged at or below loggerLevel. The messages are logged both to the Xcode
68
+ * console and to the device's log. Note that if an app is running from AppStore, it will
69
+ * never log above FIRLoggerLevelNotice even if loggerLevel is set to a higher (more verbose)
70
+ * setting.
71
+ *
72
+ * @param loggerLevel The maximum logging level. The default level is set to FIRLoggerLevelNotice.
73
+ */
74
+ - (void)setLoggerLevel:(FIRLoggerLevel)loggerLevel;
75
+
76
+ @end
77
+
78
+ NS_ASSUME_NONNULL_END
@@ -0,0 +1,35 @@
1
+ /*
2
+ * Copyright 2017 Google
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+
17
+ /**
18
+ * The log levels used by internal logging.
19
+ */
20
+ typedef NS_ENUM(NSInteger, FIRLoggerLevel) {
21
+ /** Error level, matches ASL_LEVEL_ERR. */
22
+ FIRLoggerLevelError = 3,
23
+ /** Warning level, matches ASL_LEVEL_WARNING. */
24
+ FIRLoggerLevelWarning = 4,
25
+ /** Notice level, matches ASL_LEVEL_NOTICE. */
26
+ FIRLoggerLevelNotice = 5,
27
+ /** Info level, matches ASL_LEVEL_NOTICE. */
28
+ FIRLoggerLevelInfo = 6,
29
+ /** Debug level, matches ASL_LEVEL_DEBUG. */
30
+ FIRLoggerLevelDebug = 7,
31
+ /** Minimum log level. */
32
+ FIRLoggerLevelMin = FIRLoggerLevelError,
33
+ /** Maximum log level. */
34
+ FIRLoggerLevelMax = FIRLoggerLevelDebug
35
+ } NS_SWIFT_NAME(FirebaseLoggerLevel);
@@ -0,0 +1,133 @@
1
+ /*
2
+ * Copyright 2017 Google
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+
17
+ #import <Foundation/Foundation.h>
18
+
19
+ NS_ASSUME_NONNULL_BEGIN
20
+
21
+ /**
22
+ * This class provides constant fields of Google APIs.
23
+ */
24
+ NS_SWIFT_NAME(FirebaseOptions)
25
+ @interface FIROptions : NSObject <NSCopying>
26
+
27
+ /**
28
+ * Returns the default options.
29
+ */
30
+ + (nullable FIROptions *)defaultOptions NS_SWIFT_NAME(defaultOptions());
31
+
32
+ /**
33
+ * An iOS API key used for authenticating requests from your app, e.g.
34
+ * @"AIzaSyDdVgKwhZl0sTTTLZ7iTmt1r3N2cJLnaDk", used to identify your app to Google servers.
35
+ */
36
+ @property(nonatomic, copy, nullable) NSString *APIKey NS_SWIFT_NAME(apiKey);
37
+
38
+ /**
39
+ * The bundle ID for the application. Defaults to `[[NSBundle mainBundle] bundleID]` when not set
40
+ * manually or in a plist.
41
+ */
42
+ @property(nonatomic, copy) NSString *bundleID;
43
+
44
+ /**
45
+ * The OAuth2 client ID for iOS application used to authenticate Google users, for example
46
+ * @"12345.apps.googleusercontent.com", used for signing in with Google.
47
+ */
48
+ @property(nonatomic, copy, nullable) NSString *clientID;
49
+
50
+ /**
51
+ * The tracking ID for Google Analytics, e.g. @"UA-12345678-1", used to configure Google Analytics.
52
+ */
53
+ @property(nonatomic, copy, nullable) NSString *trackingID;
54
+
55
+ /**
56
+ * The Project Number from the Google Developer's console, for example @"012345678901", used to
57
+ * configure Google Cloud Messaging.
58
+ */
59
+ @property(nonatomic, copy) NSString *GCMSenderID NS_SWIFT_NAME(gcmSenderID);
60
+
61
+ /**
62
+ * The Project ID from the Firebase console, for example @"abc-xyz-123".
63
+ */
64
+ @property(nonatomic, copy, nullable) NSString *projectID;
65
+
66
+ /**
67
+ * The Android client ID used in Google AppInvite when an iOS app has its Android version, for
68
+ * example @"12345.apps.googleusercontent.com".
69
+ */
70
+ @property(nonatomic, copy, nullable) NSString *androidClientID;
71
+
72
+ /**
73
+ * The Google App ID that is used to uniquely identify an instance of an app.
74
+ */
75
+ @property(nonatomic, copy) NSString *googleAppID;
76
+
77
+ /**
78
+ * The database root URL, e.g. @"http://abc-xyz-123.firebaseio.com".
79
+ */
80
+ @property(nonatomic, copy, nullable) NSString *databaseURL;
81
+
82
+ /**
83
+ * The URL scheme used to set up Durable Deep Link service.
84
+ */
85
+ @property(nonatomic, copy, nullable) NSString *deepLinkURLScheme;
86
+
87
+ /**
88
+ * The Google Cloud Storage bucket name, e.g. @"abc-xyz-123.storage.firebase.com".
89
+ */
90
+ @property(nonatomic, copy, nullable) NSString *storageBucket;
91
+
92
+ /**
93
+ * Initializes a customized instance of FIROptions with keys. googleAppID, bundleID and GCMSenderID
94
+ * are required. Other keys may required for configuring specific services.
95
+ */
96
+ - (instancetype)initWithGoogleAppID:(NSString *)googleAppID
97
+ bundleID:(NSString *)bundleID
98
+ GCMSenderID:(NSString *)GCMSenderID
99
+ APIKey:(NSString *)APIKey
100
+ clientID:(NSString *)clientID
101
+ trackingID:(NSString *)trackingID
102
+ androidClientID:(NSString *)androidClientID
103
+ databaseURL:(NSString *)databaseURL
104
+ storageBucket:(NSString *)storageBucket
105
+ deepLinkURLScheme:(NSString *)deepLinkURLScheme
106
+ DEPRECATED_MSG_ATTRIBUTE(
107
+ "Use `-[[FIROptions alloc] initWithGoogleAppID:GCMSenderID:]` "
108
+ "(`FirebaseOptions(googleAppID:gcmSenderID:)` in Swift)` and property "
109
+ "setters instead.");
110
+
111
+ /**
112
+ * Initializes a customized instance of FIROptions from the file at the given plist file path.
113
+ * For example,
114
+ * NSString *filePath =
115
+ * [[NSBundle mainBundle] pathForResource:@"GoogleService-Info" ofType:@"plist"];
116
+ * FIROptions *options = [[FIROptions alloc] initWithContentsOfFile:filePath];
117
+ * Returns nil if the plist file does not exist or is invalid.
118
+ */
119
+ - (nullable instancetype)initWithContentsOfFile:(NSString *)plistPath;
120
+
121
+ /**
122
+ * Initializes a customized instance of FIROptions with required fields. Use the mutable properties
123
+ * to modify fields for configuring specific services.
124
+ */
125
+ // clang-format off
126
+ - (instancetype)initWithGoogleAppID:(NSString *)googleAppID
127
+ GCMSenderID:(NSString *)GCMSenderID
128
+ NS_SWIFT_NAME(init(googleAppID:gcmSenderID:));
129
+ // clang-format on
130
+
131
+ @end
132
+
133
+ NS_ASSUME_NONNULL_END
@@ -0,0 +1,5 @@
1
+ #import "FIRAnalyticsConfiguration.h"
2
+ #import "FIRApp.h"
3
+ #import "FIRConfiguration.h"
4
+ #import "FIRLoggerLevel.h"
5
+ #import "FIROptions.h"
@@ -0,0 +1,7 @@
1
+ framework module FirebaseCore {
2
+ umbrella header "FirebaseCore.h"
3
+ export *
4
+ module * { export *}
5
+ link "z"
6
+ link framework "Security"
7
+ link framework "SystemConfiguration"}
@@ -0,0 +1,6 @@
1
+ framework module FirebaseCoreDiagnostics {
2
+ export *
3
+ module * { export *}
4
+ link "z"
5
+ link framework "Security"
6
+ link framework "SystemConfiguration"}
@@ -0,0 +1,276 @@
1
+ #import <Foundation/Foundation.h>
2
+
3
+ /**
4
+ * @memberof FIRInstanceID
5
+ *
6
+ * The scope to be used when fetching/deleting a token for Firebase Messaging.
7
+ */
8
+ FOUNDATION_EXPORT NSString * __nonnull const kFIRInstanceIDScopeFirebaseMessaging
9
+ NS_SWIFT_NAME(InstanceIDScopeFirebaseMessaging);
10
+
11
+ #if defined(__IPHONE_10_0) && __IPHONE_OS_VERSION_MAX_ALLOWED >= __IPHONE_10_0
12
+ /**
13
+ * Called when the system determines that tokens need to be refreshed.
14
+ * This method is also called if Instance ID has been reset in which
15
+ * case, tokens and FCM topic subscriptions also need to be refreshed.
16
+ *
17
+ * Instance ID service will throttle the refresh event across all devices
18
+ * to control the rate of token updates on application servers.
19
+ */
20
+ FOUNDATION_EXPORT const NSNotificationName __nonnull kFIRInstanceIDTokenRefreshNotification
21
+ NS_SWIFT_NAME(InstanceIDTokenRefresh);
22
+ #else
23
+ /**
24
+ * Called when the system determines that tokens need to be refreshed.
25
+ * This method is also called if Instance ID has been reset in which
26
+ * case, tokens and FCM topic subscriptions also need to be refreshed.
27
+ *
28
+ * Instance ID service will throttle the refresh event across all devices
29
+ * to control the rate of token updates on application servers.
30
+ */
31
+ FOUNDATION_EXPORT NSString * __nonnull const kFIRInstanceIDTokenRefreshNotification
32
+ NS_SWIFT_NAME(InstanceIDTokenRefreshNotification);
33
+ #endif // defined(__IPHONE_10_0) && __IPHONE_OS_VERSION_MAX_ALLOWED >= __IPHONE_10_0
34
+
35
+ /**
36
+ * @related FIRInstanceID
37
+ *
38
+ * The completion handler invoked when the InstanceID token returns. If
39
+ * the call fails we return the appropriate `error code` as described below.
40
+ *
41
+ * @param token The valid token as returned by InstanceID backend.
42
+ *
43
+ * @param error The error describing why generating a new token
44
+ * failed. See the error codes below for a more detailed
45
+ * description.
46
+ */
47
+ typedef void(^FIRInstanceIDTokenHandler)( NSString * __nullable token, NSError * __nullable error)
48
+ NS_SWIFT_NAME(InstanceIDTokenHandler);
49
+
50
+
51
+ /**
52
+ * @related FIRInstanceID
53
+ *
54
+ * The completion handler invoked when the InstanceID `deleteToken` returns. If
55
+ * the call fails we return the appropriate `error code` as described below
56
+ *
57
+ * @param error The error describing why deleting the token failed.
58
+ * See the error codes below for a more detailed description.
59
+ */
60
+ typedef void(^FIRInstanceIDDeleteTokenHandler)(NSError * __nullable error)
61
+ NS_SWIFT_NAME(InstanceIDDeleteTokenHandler);
62
+
63
+ /**
64
+ * @related FIRInstanceID
65
+ *
66
+ * The completion handler invoked when the app identity is created. If the
67
+ * identity wasn't created for some reason we return the appropriate error code.
68
+ *
69
+ * @param identity A valid identity for the app instance, nil if there was an error
70
+ * while creating an identity.
71
+ * @param error The error if fetching the identity fails else nil.
72
+ */
73
+ typedef void(^FIRInstanceIDHandler)(NSString * __nullable identity, NSError * __nullable error)
74
+ NS_SWIFT_NAME(InstanceIDHandler);
75
+
76
+ /**
77
+ * @related FIRInstanceID
78
+ *
79
+ * The completion handler invoked when the app identity and all the tokens associated
80
+ * with it are deleted. Returns a valid error object in case of failure else nil.
81
+ *
82
+ * @param error The error if deleting the identity and all the tokens associated with
83
+ * it fails else nil.
84
+ */
85
+ typedef void(^FIRInstanceIDDeleteHandler)(NSError * __nullable error)
86
+ NS_SWIFT_NAME(InstanceIDDeleteHandler);
87
+
88
+ /**
89
+ * Public errors produced by InstanceID.
90
+ */
91
+ typedef NS_ENUM(NSUInteger, FIRInstanceIDError) {
92
+ // Http related errors.
93
+
94
+ /// Unknown error.
95
+ FIRInstanceIDErrorUnknown = 0,
96
+
97
+ /// Auth Error -- GCM couldn't validate request from this client.
98
+ FIRInstanceIDErrorAuthentication = 1,
99
+
100
+ /// NoAccess -- InstanceID service cannot be accessed.
101
+ FIRInstanceIDErrorNoAccess = 2,
102
+
103
+ /// Timeout -- Request to InstanceID backend timed out.
104
+ FIRInstanceIDErrorTimeout = 3,
105
+
106
+ /// Network -- No network available to reach the servers.
107
+ FIRInstanceIDErrorNetwork = 4,
108
+
109
+ /// OperationInProgress -- Another similar operation in progress,
110
+ /// bailing this one.
111
+ FIRInstanceIDErrorOperationInProgress = 5,
112
+
113
+ /// InvalidRequest -- Some parameters of the request were invalid.
114
+ FIRInstanceIDErrorInvalidRequest = 7,
115
+ } NS_SWIFT_NAME(InstanceIDError);
116
+
117
+ /**
118
+ * The APNS token type for the app. If the token type is set to `UNKNOWN`
119
+ * InstanceID will implicitly try to figure out what the actual token type
120
+ * is from the provisioning profile.
121
+ */
122
+ typedef NS_ENUM(NSInteger, FIRInstanceIDAPNSTokenType) {
123
+ /// Unknown token type.
124
+ FIRInstanceIDAPNSTokenTypeUnknown,
125
+ /// Sandbox token type.
126
+ FIRInstanceIDAPNSTokenTypeSandbox,
127
+ /// Production token type.
128
+ FIRInstanceIDAPNSTokenTypeProd,
129
+ } NS_SWIFT_NAME(InstanceIDAPNSTokenType)
130
+ __deprecated_enum_msg("Use FIRMessaging's APNSToken property instead.");
131
+
132
+ /**
133
+ * Instance ID provides a unique identifier for each app instance and a mechanism
134
+ * to authenticate and authorize actions (for example, sending an FCM message).
135
+ *
136
+ * Instance ID is long lived but, may be reset if the device is not used for
137
+ * a long time or the Instance ID service detects a problem.
138
+ * If Instance ID is reset, the app will be notified via
139
+ * `kFIRInstanceIDTokenRefreshNotification`.
140
+ *
141
+ * If the Instance ID has become invalid, the app can request a new one and
142
+ * send it to the app server.
143
+ * To prove ownership of Instance ID and to allow servers to access data or
144
+ * services associated with the app, call
145
+ * `[FIRInstanceID tokenWithAuthorizedEntity:scope:options:handler]`.
146
+ */
147
+ NS_SWIFT_NAME(InstanceID)
148
+ @interface FIRInstanceID : NSObject
149
+
150
+ /**
151
+ * FIRInstanceID.
152
+ *
153
+ * @return A shared instance of FIRInstanceID.
154
+ */
155
+ + (nonnull instancetype)instanceID NS_SWIFT_NAME(instanceID());
156
+
157
+ /**
158
+ * Unavailable. Use +instanceID instead.
159
+ */
160
+ - (nonnull instancetype)init __attribute__((unavailable("Use +instanceID instead.")));
161
+
162
+ /**
163
+ * Set APNS token for the application. This APNS token will be used to register
164
+ * with Firebase Messaging using `token` or
165
+ * `tokenWithAuthorizedEntity:scope:options:handler`. If the token type is set to
166
+ * `FIRInstanceIDAPNSTokenTypeUnknown` InstanceID will read the provisioning profile
167
+ * to find out the token type.
168
+ *
169
+ * @param token The APNS token for the application.
170
+ * @param type The APNS token type for the above token.
171
+ */
172
+ - (void)setAPNSToken:(nonnull NSData *)token
173
+ type:(FIRInstanceIDAPNSTokenType)type
174
+ __deprecated_msg("Use FIRMessaging's APNSToken property instead.");
175
+
176
+ #pragma mark - Tokens
177
+
178
+ /**
179
+ * Returns a Firebase Messaging scoped token for the firebase app.
180
+ *
181
+ * @return Null Returns null if the device has not yet been registerd with
182
+ * Firebase Message else returns a valid token.
183
+ */
184
+ - (nullable NSString *)token;
185
+
186
+ /**
187
+ * Returns a token that authorizes an Entity (example: cloud service) to perform
188
+ * an action on behalf of the application identified by Instance ID.
189
+ *
190
+ * This is similar to an OAuth2 token except, it applies to the
191
+ * application instance instead of a user.
192
+ *
193
+ * This is an asynchronous call. If the token fetching fails for some reason
194
+ * we invoke the completion callback with nil `token` and the appropriate
195
+ * error.
196
+ *
197
+ * Note, you can only have one `token` or `deleteToken` call for a given
198
+ * authorizedEntity and scope at any point of time. Making another such call with the
199
+ * same authorizedEntity and scope before the last one finishes will result in an
200
+ * error with code `OperationInProgress`.
201
+ *
202
+ * @see FIRInstanceID deleteTokenWithAuthorizedEntity:scope:handler:
203
+ *
204
+ * @param authorizedEntity Entity authorized by the token.
205
+ * @param scope Action authorized for authorizedEntity.
206
+ * @param options The extra options to be sent with your token request. The
207
+ * value for the `apns_token` should be the NSData object
208
+ * passed to the UIApplicationDelegate's
209
+ * `didRegisterForRemoteNotificationsWithDeviceToken` method.
210
+ * The value for `apns_sandbox` should be a boolean (or an
211
+ * NSNumber representing a BOOL in Objective C) set to true if
212
+ * your app is a debug build, which means that the APNs
213
+ * device token is for the sandbox environment. It should be
214
+ * set to false otherwise. If the `apns_sandbox` key is not
215
+ * provided, an automatically-detected value shall be used.
216
+ * @param handler The callback handler which is invoked when the token is
217
+ * successfully fetched. In case of success a valid `token` and
218
+ * `nil` error are returned. In case of any error the `token`
219
+ * is nil and a valid `error` is returned. The valid error
220
+ * codes have been documented above.
221
+ */
222
+ - (void)tokenWithAuthorizedEntity:(nonnull NSString *)authorizedEntity
223
+ scope:(nonnull NSString *)scope
224
+ options:(nullable NSDictionary *)options
225
+ handler:(nonnull FIRInstanceIDTokenHandler)handler;
226
+
227
+ /**
228
+ * Revokes access to a scope (action) for an entity previously
229
+ * authorized by `[FIRInstanceID tokenWithAuthorizedEntity:scope:options:handler]`.
230
+ *
231
+ * This is an asynchronous call. Call this on the main thread since InstanceID lib
232
+ * is not thread safe. In case token deletion fails for some reason we invoke the
233
+ * `handler` callback passed in with the appropriate error code.
234
+ *
235
+ * Note, you can only have one `token` or `deleteToken` call for a given
236
+ * authorizedEntity and scope at a point of time. Making another such call with the
237
+ * same authorizedEntity and scope before the last one finishes will result in an error
238
+ * with code `OperationInProgress`.
239
+ *
240
+ * @param authorizedEntity Entity that must no longer have access.
241
+ * @param scope Action that entity is no longer authorized to perform.
242
+ * @param handler The handler that is invoked once the unsubscribe call ends.
243
+ * In case of error an appropriate error object is returned
244
+ * else error is nil.
245
+ */
246
+ - (void)deleteTokenWithAuthorizedEntity:(nonnull NSString *)authorizedEntity
247
+ scope:(nonnull NSString *)scope
248
+ handler:(nonnull FIRInstanceIDDeleteTokenHandler)handler;
249
+
250
+ #pragma mark - Identity
251
+
252
+ /**
253
+ * Asynchronously fetch a stable identifier that uniquely identifies the app
254
+ * instance. If the identifier has been revoked or has expired, this method will
255
+ * return a new identifier.
256
+ *
257
+ *
258
+ * @param handler The handler to invoke once the identifier has been fetched.
259
+ * In case of error an appropriate error object is returned else
260
+ * a valid identifier is returned and a valid identifier for the
261
+ * application instance.
262
+ */
263
+ - (void)getIDWithHandler:(nonnull FIRInstanceIDHandler)handler
264
+ NS_SWIFT_NAME(getID(handler:));
265
+
266
+ /**
267
+ * Resets Instance ID and revokes all tokens.
268
+ *
269
+ * This method also triggers a request to fetch a new Instance ID and Firebase Messaging scope
270
+ * token. Please listen to kFIRInstanceIDTokenRefreshNotification when the new ID and token are
271
+ * ready.
272
+ */
273
+ - (void)deleteIDWithHandler:(nonnull FIRInstanceIDDeleteHandler)handler
274
+ NS_SWIFT_NAME(deleteID(handler:));
275
+
276
+ @end