rhodes 5.5.0.7 → 5.5.0.22

Sign up to get free protection for your applications and to get access to all the features.
Files changed (113) hide show
  1. checksums.yaml +4 -4
  2. data/CONTRIBUTING.md +1 -1
  3. data/CREDITS +3 -3
  4. data/Rakefile +24 -0
  5. data/extensions/instrumentation/ext/platform/android/src/com/rho/instrumentation/Instrumentation.java +5 -0
  6. data/extensions/rhoconnect-push/ext/rhoconnect-push/platform/android/Rakefile +1 -1
  7. data/lib/build/jake.rb +5 -0
  8. data/lib/commonAPI/clipboard/ext.yml +17 -0
  9. data/lib/commonAPI/clipboard/ext/Clipboard.xml +49 -0
  10. data/lib/commonAPI/clipboard/ext/build +19 -0
  11. data/lib/commonAPI/clipboard/ext/build.bat +29 -0
  12. data/lib/commonAPI/clipboard/ext/platform/android/Rakefile +141 -0
  13. data/lib/commonAPI/clipboard/ext/platform/android/ext_java.files +9 -0
  14. data/lib/commonAPI/clipboard/ext/platform/android/ext_native.files +7 -0
  15. data/lib/commonAPI/clipboard/ext/platform/android/jni/Clipboard_impl.cpp +61 -0
  16. data/lib/commonAPI/clipboard/ext/platform/android/src/com/rho/clipboard/Clipboard.java +15 -0
  17. data/lib/commonAPI/clipboard/ext/platform/android/src/com/rho/clipboard/ClipboardFactory.java +18 -0
  18. data/lib/commonAPI/clipboard/ext/platform/android/src/com/rho/clipboard/ClipboardSingleton.java +146 -0
  19. data/lib/commonAPI/clipboard/ext/platform/iphone/Clipboard.xcodeproj/project.pbxproj +368 -0
  20. data/lib/commonAPI/clipboard/ext/platform/iphone/Clipboard_Prefix.pch +7 -0
  21. data/lib/commonAPI/clipboard/ext/platform/iphone/Rakefile +73 -0
  22. data/lib/commonAPI/clipboard/ext/platform/iphone/impl/Clipboard.h +11 -0
  23. data/lib/commonAPI/clipboard/ext/platform/iphone/impl/Clipboard.m +12 -0
  24. data/lib/commonAPI/clipboard/ext/platform/iphone/impl/ClipboardFactorySingleton.m +16 -0
  25. data/lib/commonAPI/clipboard/ext/platform/iphone/impl/ClipboardSetup.m +9 -0
  26. data/lib/commonAPI/clipboard/ext/platform/iphone/impl/ClipboardSingleton.h +18 -0
  27. data/lib/commonAPI/clipboard/ext/platform/iphone/impl/ClipboardSingleton.m +43 -0
  28. data/lib/commonAPI/clipboard/ext/platform/iphone/impl/readme.txt +7 -0
  29. data/lib/commonAPI/coreapi/ext/NativeTabbar.xml +3 -3
  30. data/lib/commonAPI/coreapi/ext/shared/TimerImpl.cpp +36 -27
  31. data/lib/commonAPI/coreapi/public/api/rhoapi-force.ajax.js +3 -1
  32. data/lib/commonAPI/coreapi/public/api/rhoapi.js +2 -1
  33. data/lib/commonAPI/devicesecurity/ext.yml +11 -0
  34. data/lib/commonAPI/devicesecurity/ext/DeviceSecurity.xml +91 -0
  35. data/lib/commonAPI/devicesecurity/ext/build +19 -0
  36. data/lib/commonAPI/devicesecurity/ext/build.bat +29 -0
  37. data/lib/commonAPI/devicesecurity/ext/platform/android/InbuiltValues.erb +16 -0
  38. data/lib/commonAPI/devicesecurity/ext/platform/android/Rakefile +166 -0
  39. data/lib/commonAPI/devicesecurity/ext/platform/android/ext_java.files +10 -0
  40. data/lib/commonAPI/devicesecurity/ext/platform/android/ext_native.files +7 -0
  41. data/lib/commonAPI/devicesecurity/ext/platform/android/jni/DeviceSecurity_impl.cpp +61 -0
  42. data/lib/commonAPI/devicesecurity/ext/platform/android/src/com/rho/devicesecurity/DeviceSecurity.java +14 -0
  43. data/lib/commonAPI/devicesecurity/ext/platform/android/src/com/rho/devicesecurity/DeviceSecurityFactory.java +18 -0
  44. data/lib/commonAPI/devicesecurity/ext/platform/android/src/com/rho/devicesecurity/DeviceSecuritySingleton.java +412 -0
  45. data/lib/commonAPI/devicesecurity/ext/platform/iphone/DeviceSecurity.xcodeproj/project.pbxproj +368 -0
  46. data/lib/commonAPI/devicesecurity/ext/platform/iphone/DeviceSecurity_Prefix.pch +7 -0
  47. data/lib/commonAPI/devicesecurity/ext/platform/iphone/Rakefile +73 -0
  48. data/lib/commonAPI/devicesecurity/ext/platform/iphone/impl/DeviceSecurity.h +11 -0
  49. data/lib/commonAPI/devicesecurity/ext/platform/iphone/impl/DeviceSecurity.m +12 -0
  50. data/lib/commonAPI/devicesecurity/ext/platform/iphone/impl/DeviceSecurityFactorySingleton.m +16 -0
  51. data/lib/commonAPI/devicesecurity/ext/platform/iphone/impl/DeviceSecuritySetup.m +9 -0
  52. data/lib/commonAPI/devicesecurity/ext/platform/iphone/impl/DeviceSecuritySingleton.h +19 -0
  53. data/lib/commonAPI/devicesecurity/ext/platform/iphone/impl/DeviceSecuritySingleton.m +106 -0
  54. data/lib/commonAPI/devicesecurity/ext/platform/iphone/impl/readme.txt +7 -0
  55. data/platform/android/Rhodes/src/com/rhomobile/rhodes/LocalFileProvider.java +5 -1
  56. data/platform/android/Rhodes/src/com/rhomobile/rhodes/util/Utils.java +9 -0
  57. data/platform/android/build/android.rake +42 -1
  58. data/platform/android/build/androidcommon.rb +4 -2
  59. data/platform/iphone/Classes/RhoWKWebView.m +4 -0
  60. data/platform/iphone/Classes/URLProtocol/CRhoURLProtocol.h +2 -0
  61. data/platform/iphone/Classes/URLProtocol/CRhoURLProtocol.m +195 -30
  62. data/platform/iphone/Classes/rho/net/IPhoneNetRequest.mm +91 -4
  63. data/platform/iphone/rbuild/iphone.rake +297 -231
  64. data/platform/iphone/rbuild/putsOverride.rake +8 -0
  65. data/platform/shared/common/RhoTime.cpp +81 -40
  66. data/platform/shared/common/RhodesApp.cpp +16 -18
  67. data/platform/shared/db/DBAdapter.cpp +33 -0
  68. data/platform/shared/db/DBAdapter.h +5 -0
  69. data/platform/shared/net/HttpServer.cpp +27 -1
  70. data/platform/shared/net/INetRequest.cpp +33 -6
  71. data/platform/shared/qt/rhodes/qkineticscroller.cpp +2 -2
  72. data/platform/shared/qt/rhodes/qkineticscroller_p.h +1 -1
  73. data/platform/shared/qt/rhodes/qtscrollerfilter.cpp +3 -3
  74. data/platform/shared/qt/rhodes/qtscrollevent.cpp +2 -2
  75. data/platform/shared/qt/rhodes/qwebviewkineticscroller.cpp +1 -1
  76. data/platform/shared/qt/rhodes/qwebviewkineticscroller.h +1 -1
  77. data/platform/wm/build/wm.rake +7 -3
  78. data/platform/wm/rhodes/browser/BrowserFactory.cpp +4 -6
  79. data/platform/wm/rhodes/browser/stubs.cpp +5 -0
  80. data/platform/wm/rhodes/rhodes.vcproj +31 -2
  81. data/rakefile.rb +24 -0
  82. data/res/generators/templates/application/app/Settings/home.erb +1 -1
  83. data/res/generators/templates/application/build.yml +61 -4
  84. data/res/generators/templates/application/icon/icon.png +0 -0
  85. data/res/generators/templates/application/icon/icon114.png +0 -0
  86. data/res/generators/templates/application/icon/icon120.png +0 -0
  87. data/res/generators/templates/application/icon/icon144.png +0 -0
  88. data/res/generators/templates/application/icon/icon152.png +0 -0
  89. data/res/generators/templates/application/icon/icon180.png +0 -0
  90. data/res/generators/templates/application/icon/icon57.png +0 -0
  91. data/res/generators/templates/application/icon/icon60.png +0 -0
  92. data/res/generators/templates/application/icon/icon72.png +0 -0
  93. data/res/generators/templates/application/icon/icon76.png +0 -0
  94. data/res/generators/templates/application/production/iTunesArtwork.png +0 -0
  95. data/res/generators/templates/application/production/iTunesArtwork@2x.png +0 -0
  96. data/res/generators/templates/iphone_project/Bremen7.xcodeproj/project.pbxproj +1 -0
  97. data/res/generators/templates/iphone_project/buildRhoBundle +23 -7
  98. data/res/generators/templates/iphone_project/root/Info.plist +0 -2
  99. data/res/generators/templates/iphone_project/root/iTunesArtwork +0 -0
  100. data/res/generators/templates/iphone_project/root/iTunesArtwork@2x +0 -0
  101. data/res/generators/templates/iphone_project/root/icon114.png +0 -0
  102. data/res/generators/templates/iphone_project/root/icon120.png +0 -0
  103. data/res/generators/templates/iphone_project/root/icon144.png +0 -0
  104. data/res/generators/templates/iphone_project/root/icon152.png +0 -0
  105. data/res/generators/templates/iphone_project/root/icon180.png +0 -0
  106. data/res/generators/templates/iphone_project/root/icon57.png +0 -0
  107. data/res/generators/templates/iphone_project/root/icon60.png +0 -0
  108. data/res/generators/templates/iphone_project/root/icon72.png +0 -0
  109. data/res/generators/templates/iphone_project/root/icon76.png +0 -0
  110. data/res/generators/templates/iphone_project/root/rhorunner_development.entitlements +6 -0
  111. data/rhodes.gemspec +19 -17
  112. data/version +1 -1
  113. metadata +118 -44
@@ -53,7 +53,7 @@
53
53
  #include <QTime>
54
54
  #include <QPointer>
55
55
  #include <QObject>
56
- #include <qkineticscroller.h>
56
+ #include "qkineticscroller.h"
57
57
  #include <QEvent>
58
58
  #if QT_VERSION < 0x040700
59
59
  # include <QTime>
@@ -1,6 +1,6 @@
1
- #include <qtscrollerfilter_p.h>
2
- #include <qtscrollevent.h>
3
- #include <qtscroller.h>
1
+ #include "qtscrollerfilter_p.h"
2
+ #include "qtscrollevent.h"
3
+ #include "qtscroller.h"
4
4
  #include <QAbstractItemView>
5
5
  #include <QScrollBar>
6
6
  #include <QGestureEvent>
@@ -1,5 +1,5 @@
1
- #include <qtscrollevent.h>
2
- #include <qtscrollevent_p.h>
1
+ #include "qtscrollevent.h"
2
+ #include "qtscrollevent_p.h"
3
3
 
4
4
  /*!
5
5
  \class QtScrollPrepareEvent
@@ -39,7 +39,7 @@
39
39
  **
40
40
  ****************************************************************************/
41
41
 
42
- #include <qwebviewkineticscroller.h>
42
+ #include "qwebviewkineticscroller.h"
43
43
  #include <QApplication>
44
44
  #include <QGraphicsView>
45
45
  #include <QWebView>
@@ -42,7 +42,7 @@
42
42
  #ifndef QWEBVIEWKINETICSCROLLER_H
43
43
  #define QWEBVIEWKINETICSCROLLER_H
44
44
 
45
- #include <qkineticscroller.h>
45
+ #include "qkineticscroller.h"
46
46
  #include <QWebView>
47
47
 
48
48
  QT_BEGIN_HEADER
@@ -135,8 +135,10 @@ module WM
135
135
  $build_persistent_cab = Jake.getBuildBoolProp("persistent")
136
136
  $run_on_startup = Jake.getBuildBoolProp("startAtBoot")
137
137
  $build_cab = true
138
- $is_webkit_engine = $app_config["wm"]["webengine"] == "Webkit" if !$app_config["wm"]["webengine"].nil?
139
- $is_webkit_engine = true if $is_webkit_engine.nil?
138
+ $is_webkit_engine = false
139
+ #$is_webkit_engine = true if !$app_config["wm"]["extensions"]["webkit"].nil?
140
+ #$app_config["wm"]["webengine"] == "webkit" if !$app_config["wm"]["webengine"].nil?
141
+ #$is_webkit_engine = false if $is_webkit_engine.nil?
140
142
 
141
143
  if $wk_data_dir.nil?
142
144
  $wk_data_dir = File.join($startdir, "libs/data") #"/Program Files" # its fake value for running without symbol extensions. do not delete
@@ -572,15 +574,17 @@ def build_cab
572
574
  makePersistentFiles($srcdir, additional_dlls_persistent_paths, nil, $webkit_out_of_process, reg_keys_filename)
573
575
  end
574
576
 
577
+ =begin
575
578
  webkit = 'none'
576
579
  if $is_webkit_engine && $webkit_capability
577
580
  webkit = $webkit_out_of_process ? 'out_of_process' : 'in_process'
578
581
  end
582
+ =end
579
583
 
580
584
  #TODO TAU
581
585
  webkit = 'none'
582
586
 
583
- if $is_webkit_engine && $webkit_capability
587
+ if $is_webkit_engine #&& $webkit_capability
584
588
  webkit = 'in_process'
585
589
  end
586
590
 
@@ -85,7 +85,7 @@ IBrowserEngine* BrowserFactory::create(HWND hwndParent)
85
85
  //TODO TAU
86
86
  //String xmlConfigType = rho_wmimpl_get_webengine();
87
87
  String xmlConfigType;
88
- String rhoConfigType = RHOCONF().getString("webengine");
88
+ String rhoConfigType = RHOCONF().getString("webengine");
89
89
 
90
90
  if (get_app_build_config_item("webengine"))
91
91
  {
@@ -110,12 +110,10 @@ IBrowserEngine* BrowserFactory::create(HWND hwndParent)
110
110
 
111
111
  if (selBrowserType == eNone)
112
112
  {
113
- selBrowserType = eWebkit;
114
- LOG(INFO) + "Browser engine was not set in config`s. Selected Webkit engine automatically.";
113
+ selBrowserType = eIE;
114
+ LOG(INFO) + "WebKit extension missing. Selected Internet Explorer engine automatically.";
115
115
  }
116
116
 
117
- //TAU
118
- selBrowserType = eWebkit;
119
117
  m_selBrowserType = selBrowserType;
120
118
 
121
119
  switch (selBrowserType)
@@ -158,4 +156,4 @@ EBrowserEngineType BrowserFactory::getCurrentBrowserType()
158
156
  extern "C" bool rho_wmimpl_is_browser_ieforwm()
159
157
  {
160
158
  return (bool)(rho::eIE == rho::BrowserFactory::getCurrentBrowserType());
161
- }
159
+ }
@@ -0,0 +1,5 @@
1
+ // WARNING! THIS FILE IS GENERATED AUTOMATICALLY! DO NOT EDIT IT MANUALLY!
2
+ #include "StdAfx.h"
3
+ #include "common/RhoStd.h"
4
+ #include "IBrowserEngine.h"
5
+ rho::IBrowserEngine* rho_wmimpl_get_webkitBrowserEngine(HWND hwndParent, HINSTANCE rhoAppInstance) {return 0;}
@@ -454,7 +454,7 @@
454
454
  />
455
455
  <DeploymentTool
456
456
  ForceDirty="-1"
457
- RemoteDirectory="%CSIDL_PROGRAM_FILES%\sas"
457
+ RemoteDirectory="%CSIDL_PROGRAM_FILES%\Kitchen Sink"
458
458
  RegisterOutput="0"
459
459
  AdditionalFiles=""
460
460
  />
@@ -1095,7 +1095,7 @@
1095
1095
  />
1096
1096
  <DeploymentTool
1097
1097
  ForceDirty="-1"
1098
- RemoteDirectory="%CSIDL_PROGRAM_FILES%\sas"
1098
+ RemoteDirectory="%CSIDL_PROGRAM_FILES%\Kitchen Sink"
1099
1099
  RegisterOutput="0"
1100
1100
  AdditionalFiles=""
1101
1101
  />
@@ -2031,6 +2031,31 @@
2031
2031
  </Configuration>
2032
2032
  </Configurations>
2033
2033
  <References>
2034
+ <AssemblyReference
2035
+ RelativePath="System.dll"
2036
+ AssemblyName="System, Version=2.0.0.0, PublicKeyToken=b77a5c561934e089, processorArchitecture=MSIL"
2037
+ MinFrameworkVersion="131072"
2038
+ />
2039
+ <AssemblyReference
2040
+ RelativePath="System.Data.dll"
2041
+ AssemblyName="System.Data, Version=2.0.0.0, PublicKeyToken=b77a5c561934e089, processorArchitecture=x86"
2042
+ MinFrameworkVersion="131072"
2043
+ />
2044
+ <AssemblyReference
2045
+ RelativePath="System.Drawing.dll"
2046
+ AssemblyName="System.Drawing, Version=2.0.0.0, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL"
2047
+ MinFrameworkVersion="131072"
2048
+ />
2049
+ <AssemblyReference
2050
+ RelativePath="System.Windows.Forms.dll"
2051
+ AssemblyName="System.Windows.Forms, Version=2.0.0.0, PublicKeyToken=b77a5c561934e089, processorArchitecture=MSIL"
2052
+ MinFrameworkVersion="131072"
2053
+ />
2054
+ <AssemblyReference
2055
+ RelativePath="System.XML.dll"
2056
+ AssemblyName="System.Xml, Version=2.0.0.0, PublicKeyToken=b77a5c561934e089, processorArchitecture=MSIL"
2057
+ MinFrameworkVersion="131072"
2058
+ />
2034
2059
  </References>
2035
2060
  <Files>
2036
2061
  <Filter
@@ -2999,6 +3024,10 @@
2999
3024
  RelativePath=".\browser\IEBrowserEngine.h"
3000
3025
  >
3001
3026
  </File>
3027
+ <File
3028
+ RelativePath=".\browser\stubs.cpp"
3029
+ >
3030
+ </File>
3002
3031
  </Filter>
3003
3032
  </Files>
3004
3033
  <Globals>
data/rakefile.rb CHANGED
@@ -74,6 +74,7 @@ end
74
74
  #------------------------------------------------------------------------
75
75
 
76
76
  $app_basedir = pwd
77
+ $is_webkit_engine = false
77
78
  $startdir = File.dirname(__FILE__)
78
79
  $startdir.gsub!('\\', '/')
79
80
 
@@ -2125,6 +2126,8 @@ namespace "config" do
2125
2126
  # $app_config["extensions"].delete("audiocapture")
2126
2127
  #end
2127
2128
 
2129
+ $app_config['extensions'].delete('barcode') if ( $app_config['extensions'].index('enterprise-barcode') || $app_config['extensions'].index('allbarcode') )
2130
+
2128
2131
  $hidden_app = $app_config["hidden_app"].nil?() ? "0" : $app_config["hidden_app"]
2129
2132
 
2130
2133
  #application build configs
@@ -2484,6 +2487,10 @@ def init_extensions(dest, mode = "")
2484
2487
 
2485
2488
  $app_config["extensions"].each do |extname|
2486
2489
  puts 'ext - ' + extname
2490
+
2491
+ if extname == "webkit"
2492
+ $is_webkit_engine = true
2493
+ end
2487
2494
 
2488
2495
  extpath = nil
2489
2496
  extpaths.each do |p|
@@ -2668,6 +2675,23 @@ def init_extensions(dest, mode = "")
2668
2675
 
2669
2676
  end
2670
2677
 
2678
+ stubs = File.join($startdir, "platform", "wm", "rhodes", "browser", "stubs.cpp")
2679
+ if $is_webkit_engine == false
2680
+ File.open(stubs, "w+") do |f|
2681
+ f.puts "// WARNING! THIS FILE IS GENERATED AUTOMATICALLY! DO NOT EDIT IT MANUALLY!"
2682
+ f.puts "#include \"StdAfx.h\""
2683
+ f.puts "#include \"common/RhoStd.h\""
2684
+ f.puts "#include \"IBrowserEngine.h\""
2685
+ f.puts "rho::IBrowserEngine* rho_wmimpl_get_webkitBrowserEngine(HWND hwndParent, HINSTANCE rhoAppInstance) {return 0;}"
2686
+ Jake.modify_file_if_content_changed( stubs, f )
2687
+ end
2688
+ else
2689
+ File.open(stubs, "w+") do |f|
2690
+ f.puts "// WARNING! THIS FILE IS GENERATED AUTOMATICALLY! DO NOT EDIT IT MANUALLY!"
2691
+ f.puts "#include \"StdAfx.h\""
2692
+ Jake.modify_file_if_content_changed( stubs, f )
2693
+ end
2694
+ end
2671
2695
 
2672
2696
  if ($ruby_only_extensions_list)
2673
2697
  BuildOutput.warning([
@@ -14,7 +14,7 @@
14
14
  </div>
15
15
  <div class="col-xs-2 col-sm-2 col-md-2 col-lg-2">
16
16
  <%% if SyncEngine::logged_in > 0 %>
17
- <a href="<%%= url_for :controller => :Settings, :action => :logout %" class="btn btn-default btn-sm pull-right">
17
+ <a href="<%%= url_for :controller => :Settings, :action => :logout %>" class="btn btn-default btn-sm pull-right">
18
18
  Logout
19
19
  </a>
20
20
  <%% else %>
@@ -1,13 +1,43 @@
1
+ ## Note: sdk is full path to Rhodes root. If not defined - automatically find latest installed Rhodes gem
1
2
  #sdk: "<%=@sdk_path%>"
2
3
  sdkversion: <%=Rhodes::VERSION%>
3
4
  name: <%=@app_name%>
4
5
  version: 1.0
5
6
  vendor: rhomobile
7
+ ## Note: rho_app_id send to RhoConnect server for identify application (used in multi-push configuration only)
8
+ ## we recommend make it same with BundleIdentifier
9
+ rho_app_id: com.rhomobile.<%=@app_name_cleared%>
6
10
  build: debug
7
11
  applog: rholog.txt
12
+
13
+ ## Note: enable specific device capabilities for aplication
14
+ #capabilities:
15
+ ## allows use of audio hardware (record audio, modify audio settings)
16
+ #- audio
17
+ ## allows use of hardware camera
18
+ #- camera
19
+ ## allows use of geo location service
20
+ #- gps
21
+ ## allows read device network state (connected/disconnected)
22
+ #- network_state
23
+ ## allow make calls/read phone state
24
+ #- phone
25
+ ## allow read/modify personal information and contacts
26
+ #- pim
27
+ ## allows use of PUSH on device
28
+ #- push
29
+ ## allows use of hardware vibration mechanism
30
+ #- vibrate
31
+ ## allows use of bluetooth hardware
32
+ #- bluetooth
33
+ ## allows access to default device calendar
34
+ #- calendar
35
+ ## allows writing to the SD card on Android devices
36
+ #- sdcard
37
+
8
38
  iphone:
9
39
  configuration: Release
10
- sdk: iphonesimulator10.0
40
+ sdk: iphonesimulator10.2
11
41
  #provisionprofile:
12
42
  #codesignidentity:
13
43
  #entitlements:
@@ -15,14 +45,41 @@ iphone:
15
45
  BundleURLScheme: <%=@app_name_cleared%>
16
46
  production:
17
47
  ipa_itunesartwork_image: "./production/iTunesArtwork.png"
18
- # Note: Specifies the URL schemes the app is able to call using Rho.System.runApplication
19
- #ApplicationQueriesSchemes: ["scheme1", "scheme2"]
48
+ ## Note: Specifies the URL schemes the app is able to call using Rho.System.runApplication
49
+ #ApplicationQueriesSchemes: ['scheme1', 'scheme2']
50
+ ## Note: Specifies list of HTTP domains for connect from application
51
+ #http_connection_domains: ['domain1.com', 'domain2.org']
52
+ ## Note: Specify remove of Info.plist keys - use this if you need to remove some keys from Info.plist
53
+ ## This example remove two keys with unsupported screen orientation and also remove UIRequiredDeviceCapabilities key
54
+ #info_plist_data_remove:
55
+ #- UIRequiredDeviceCapabilities
56
+ #- UISupportedInterfaceOrientations: ['UIInterfaceOrientationLandscapeLeft', 'UIInterfaceOrientationLandscapeRight']
57
+ ## Note: Specifies set/modify of Info.plist keys with content(hash) - all of this items will be apply to final Info.plist of application. You can specify any Ino.plist data in this parameter.
58
+ ## this example content is equal of two upper parameters content (URLS schemes and HTTP domains) - you can use manually setup this parameters for more detailed setup instead default.
59
+ ## in this example we show additional disable of perfect forward secrecy (PFS) for domain3(https)
60
+ #info_plist_data:
61
+ # LSApplicationQueriesSchemes: ['scheme1', 'scheme2']
62
+ # NSAppTransportSecurity:
63
+ # NSAllowsArbitraryLoads: true
64
+ # NSExceptionDomains:
65
+ # domain1.com:
66
+ # NSIncludesSubdomains: true
67
+ # NSTemporaryExceptionAllowsInsecureHTTPLoads: true
68
+ # NSTemporaryExceptionMinimumTLSVersion: 'TLSv1.0'
69
+ # domain2.org:
70
+ # NSIncludesSubdomains: true
71
+ # NSTemporaryExceptionAllowsInsecureHTTPLoads: true
72
+ # NSTemporaryExceptionMinimumTLSVersion: 'TLSv1.0'
73
+ # domain3.com:
74
+ # NSExceptionRequiresForwardSecrecy: false
75
+
20
76
  wp8:
21
77
  productid: '<%=@productid%>'
78
+
22
79
  android:
23
80
  #manifest_template: 'AndroidManifest.erb'
24
81
  version: 4.1.0
25
- # Note: in order to simplify debugging only app messages and system channels with priority informative and higher, and any errors are enabled by default
82
+ ## Note: in order to simplify debugging only app messages and system channels with priority informative and higher, and any errors are enabled by default
26
83
  logcatFilter: APP:I StrictMode:I DEBUG:I *:E
27
84
 
28
85
  wm:
@@ -381,6 +381,7 @@
381
381
  SystemCapabilities = {
382
382
  com.apple.BackgroundModes = {enabled = 1;};
383
383
  com.apple.Push = {enabled = 1;};
384
+ com.apple.Keychain = {enabled = 1;};
384
385
  };
385
386
  };
386
387
  };
@@ -1,26 +1,42 @@
1
1
  #!/bin/sh
2
2
 
3
+ echo "START buildRhoBundle script"
3
4
 
4
- if [ "$RHO_BUNDLE_ALREADY_BUILDED" = "YES" ]; then
5
+ if [ "$RHO_BUNDLE_ALREADY_BUILDED" = "YES" ]
6
+ then
5
7
 
6
8
  RHO_BUNDLE_ALREADY_BUILDED="NO"
9
+ echo "RhoBundle already builded !"
7
10
 
8
- echo "RhoBundle already builded !"
11
+ else
9
12
 
10
- elif [ "$ACTION" = "build" -o "$ACTION" = "" ]; then
13
+ echo "RhoBundle should BUILD !"
11
14
 
12
- source ~/.profile
15
+ RHO_BUNDLE_ALREADY_BUILDED="NO"
16
+
17
+ . ~/.profile
13
18
  cd ../..
14
19
 
15
- RHO_BUNDLE_ALREADY_BUILDED="NO"
20
+ echo "START Prepare build bundle - switch app"
21
+
22
+ ruby --version
23
+
16
24
  rake switch_app
25
+
26
+ echo "FINISH Prepare build bundle - switch app"
27
+
17
28
  TARGET_RHODESLIBS_DIR=${SRCROOT}
29
+
18
30
  cd <%= rhodes_root_path %>
31
+
32
+ echo "START build bundle ..."
33
+
19
34
  rake build:iphone:rhobundle
20
35
 
36
+ echo "FINISH build bundle ..."
37
+
21
38
  RHO_BUNDLE_ALREADY_BUILDED="NO"
22
39
 
23
40
  fi
24
41
 
25
-
26
-
42
+ echo "FINISH buildRhoBundle script"
@@ -151,8 +151,6 @@
151
151
  <dict>
152
152
  <key>NSAllowsArbitraryLoads</key>
153
153
  <true/>
154
- <key>NSAllowsArbitraryLoadsInWebContent</key>
155
- <true/>
156
154
  </dict>
157
155
  <key>UIRequiresFullScreen</key>
158
156
  <true/>