cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Cordova Wiki] Update of "DeprecationPolicy" by BasBosman
Date Fri, 31 Jan 2014 17:19:21 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Cordova Wiki" for change notification.

The "DeprecationPolicy" page has been changed by BasBosman:
https://wiki.apache.org/cordova/DeprecationPolicy?action=diff&rev1=30&rev2=31

Comment:
Updated and fixed a few links, disabled autolinking where it isn't wanted  and removed a dead
link.

  == List of deprecated features ==
  
  || Feature || Deprecation Notice || Remove By || Issue ||
- || Android - Remove set*Property() methods and SetFullscreen || 3.4.0 || April 2014 || https://issues.apache.org/jira/browse/CB-5646
||
+ || Android - Remove set*Property() methods and !SetFullscreen || 3.4.0 || April 2014 ||
https://issues.apache.org/jira/browse/CB-5646 ||
  || Plugman - remove support for <plugins-plist> elements || 3.1 || 3.4 || https://issues.apache.org/jira/browse/CB-4455
and https://issues.apache.org/jira/browse/CB-4456 ||
  || Android - Remove Froyo Support || 2.8.0 || July 2013 || https://issues.apache.org/jira/browse/CB-3281
||
  || All - change <plugin> to <feature> in config.xml || 2.8.0 || July 2013 /
3.0.0 || https://issues.apache.org/jira/browse/CB-3172 ||
  || iOS - remove CDVViewController.useSplashScreen property || 2.5.0 || July 2013 / 3.0.0
|| https://issues.apache.org/jira/browse/CB-4145 ||
  || iOS - change CDVConnection ReachableViaWWAN return from '2g' to 'cellular' || 2.6.0 ||
July 2013 / 3.0.0 || https://issues.apache.org/jira/browse/CB-2686 ||
- || iOS - config.xml EnableLocation preference removal || 2.6.0 || July 2013 / 3.0.0 || https://issues.apache.org/jira/browse/CB-2608
||
+ || iOS - config.xml !EnableLocation preference removal || 2.6.0 || July 2013 / 3.0.0 ||
https://issues.apache.org/jira/browse/CB-2608 ||
  || iOS - CDVURLProtocol registerPGHttpURLProtocol method removal || 2.0.0 || Jan 2013 ||
https://issues.apache.org/jira/browse/CB-2191||
  || iOS - CDVURLProtocol registerURLProtocol method removal || 2.0.0 || Jan 2013 || https://issues.apache.org/jira/browse/CB-2192||
  || iOS - CDVViewController invokeString property removal || 2.0.0 || Jan 2013 || https://issues.apache.org/jira/browse/CB-2193||
@@ -28, +28 @@

  || iOS - window.Settings (CDVDevice) || 2.5.0 || August 2013 || https://issues.apache.org/jira/browse/CB-2433||
  || Android - backHistory removal || 2.2.0 || April 2013 || https://issues.apache.org/jira/browse/CB-2198||
  || Android - exec() returns the success payload when the call completes synchronously ||
2.2.0 || April 2013 || https://issues.apache.org/jira/browse/CB-2199||
- || Android - CordovaInterface.getContext() || 2.0.0 || December 2012 || https://issues.apache.org/jira/browse/CB-2196||
+ || Android - !CordovaInterface.getContext() || 2.0.0 || December 2012 || https://issues.apache.org/jira/browse/CB-2196||
- || Android - CordovaInterface.cancelLoadUrl() || 2.0.0 || December 2012 || https://issues.apache.org/jira/browse/CB-2197||
+ || Android - !CordovaInterface.cancelLoadUrl() || 2.0.0 || December 2012 || https://issues.apache.org/jira/browse/CB-2197||
  || Android - device.name || 2.3.0 || May 2013 || https://issues.apache.org/jira/browse/CB-2200||
  || Android - OS versions 2.1 and 3.x || 2.3.0 || May 2013 || https://issues.apache.org/jira/browse/CB-2201||
- || Android - org.apache.cordova.api.Plugin in favour of org.apache.cordova.api.CordovaPlugin
|| 2.3.0 || May 2013 || https://issues.apache.org/jira/browse/CB-2202||
+ || Android - org.apache.cordova.api.Plugin in favour of org.apache.cordova.api.!CordovaPlugin
|| 2.3.0 || May 2013 || https://issues.apache.org/jira/browse/CB-2202||
  
  == a few tips on what to do with deprecated code ==
  
@@ -40, +40 @@

  
  Cordova Plugin Upgrade Guide
  
- https://github.com/apache/incubator-cordova-ios/blob/master/guides/Cordova%20Plugin%20Upgrade%20Guide.md
+ https://github.com/apache/cordova-ios/blob/master/guides/Cordova%20Plugin%20Upgrade%20Guide.md
- 
- https://github.com/phonegap/phonegap-plugins/blob/master/iOS/README.md
  
  === The type "Plugin" is deprecated ===
  
@@ -60, +58 @@

  public class TestPhonegapPlugin extends CordovaPlugin {/*...*/}
  }}}
  
- Please also read the updated [[http://docs.phonegap.com/en/3.0.0/guide_platforms_android_plugin.md.html#Android%20Plugins|Android
Plugin Guide]], since the threading details have changed.
+ Please also read the updated [[http://docs.phonegap.com/en/3.3.0/guide_platforms_android_plugin.md.html#Android%20Plugins|Android
Plugin Guide]], since the threading details have changed.
  
  If you want don't care about updating and just want your plugin to "work", you could drop
a copy of the [[https://git-wip-us.apache.org/repos/asf?p=cordova-android.git;a=blob_plain;f=framework/src/org/apache/cordova/api/Plugin.java;h=72171f2ac2d0de8c556661568f41ff2bd754fc1f;hb=df1536ea77e97b7d362a19582f8beddd168c5ec3|Plugin]]
and [[https://git-wip-us.apache.org/repos/asf?p=cordova-android.git;a=blob_plain;f=framework/src/org/apache/cordova/api/LegacyContext.java;h=fe154f7cff6d2f5d9d2024db34cafa354cd772aa;hb=df1536ea77e97b7d362a19582f8beddd168c5ec3|LegacyContext]]
shims into your project.
  
@@ -75, +73 @@

  
  == deprecation: Removal of Legacy Context ==
  
- CordovaInterface may not be a Context object, therefore all plugins that use a context object
ctx should use the new 
+ !CordovaInterface may not be a Context object, therefore all plugins that use a context
object ctx should use the new 
  Cordova methods to access the activity to use the activities' methods
  
  {{{
  ctx.getAssets()
  }}}
  will no longer get the assets of the activity.  Instead, plugin developers needing access
to the activity should call getActivity, which should be implemented by 
- the CordovaInterface.  It should be noted that if the developer is not using DroidGap for
their application, they are responsible for implementing this method and making sure the main
activity is returned, and that plugin developers should be prepared for the case when the
activity is null. (i.e. Lock-Screen Widgets).  A working example of this method is below.
+ the !CordovaInterface.  It should be noted that if the developer is not using !DroidGap
for their application, they are responsible for implementing this method and making sure the
main activity is returned, and that plugin developers should be prepared for the case when
the activity is null. (i.e. Lock-Screen Widgets).  A working example of this method is below.
  {{{
  cordova.getActivity().getAssets()
  }}}
@@ -91, +89 @@

  
  All technology deprecates with time.
  
- The ultimate purpose of PhoneGap is to cease to exist.
+ The ultimate purpose of !PhoneGap is to cease to exist.
  
- -- "PhoneGap Beliefs, Goals, and Philosophy"
+ -- "!PhoneGap Beliefs, Goals, and Philosophy"
  http://phonegap.com/2012/05/09/phonegap-beliefs-goals-and-philosophy/
  

Mime
View raw message