Skip to content
This repository has been archived by the owner on May 18, 2022. It is now read-only.

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
myflashlab committed Dec 14, 2018
1 parent 7055960 commit ce717ab
Show file tree
Hide file tree
Showing 34 changed files with 14 additions and 159 deletions.
Binary file removed AIR/icons/Default-375w-667h@2x~iphone.png
Binary file not shown.
Binary file removed AIR/icons/Default-414w-736h@3x~iphone.png
Binary file not shown.
Binary file removed AIR/icons/Default-568h@2x~iphone.png
Binary file not shown.
Binary file removed AIR/icons/Default-Landscape-414w-736h@3x~iphone.png
Binary file not shown.
Binary file removed AIR/icons/Default-LandscapeLeft@2x~ipad.png
Binary file not shown.
Binary file removed AIR/icons/Default-LandscapeRight@2x~ipad.png
Binary file not shown.
Binary file removed AIR/icons/Default-LandscapeRight~ipad.png
Binary file not shown.
Binary file removed AIR/icons/Default-Landscapet@2x~ipad.png
Binary file not shown.
Binary file removed AIR/icons/Default-Landscape~ipad.png
Binary file not shown.
Binary file removed AIR/icons/Default-Portrait@2x~ipad.png
Binary file not shown.
Binary file removed AIR/icons/Default-PortraitUpsideDown@2x~ipad.png
Binary file not shown.
Binary file removed AIR/icons/Default-PortraitUpsideDown~ipad.png
Binary file not shown.
Binary file removed AIR/icons/Default-Portrait~ipad.png
Binary file not shown.
Binary file removed AIR/icons/Default@2x~iphone.png
Binary file not shown.
Binary file removed AIR/icons/Default~iphone.png
Binary file not shown.
Binary file added AIR/icons/icons/icon_1024.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed AIR/icons/icons/icon_114.png
Binary file not shown.
Binary file removed AIR/icons/icons/icon_120.png
Binary file not shown.
Binary file modified AIR/icons/icons/icon_144.png 100644 → 100755
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed AIR/icons/icons/icon_152.png
Binary file not shown.
Binary file modified AIR/icons/icons/icon_192.png 100644 → 100755
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added AIR/icons/icons/icon_36.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified AIR/icons/icons/icon_48.png 100644 → 100755
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified AIR/icons/icons/icon_512.png 100644 → 100755
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed AIR/icons/icons/icon_57.png
Binary file not shown.
Binary file modified AIR/icons/icons/icon_72.png 100644 → 100755
Binary file removed AIR/icons/icons/icon_76.png
Diff not rendered.
Binary file modified AIR/icons/icons/icon_96.png 100644 → 100755
2 changes: 0 additions & 2 deletions AIR/icons/sizeInfo.txt

This file was deleted.

9 changes: 9 additions & 0 deletions AIR/lib/README.md
@@ -0,0 +1,9 @@
Copy the purchased [richWebView.ane](https://www.myflashlabs.com/product/rich-webview-ane-adobe-air-native-extension/) here along with the following dependency ANEs:

1. (Optional) permissionCheck.ane - [Download from here](https://github.com/myflashlab/PermissionCheck-ANE/)
1. androidSupport-core.ane
1. androidSupport-customtabs.ane
1. androidSupport-v4.ane
1. overrideAir.ane

Download dependency ANEs from here: https://github.com/myflashlab/common-dependencies-ANE
10 changes: 0 additions & 10 deletions AIR/lib/ReadMe.txt

This file was deleted.

Binary file removed AIR/lib/richWebView.ane
Binary file not shown.
135 changes: 5 additions & 130 deletions README.md
@@ -1,4 +1,4 @@
# Rich WebView ANE V7.1.5 (Android+iOS)
# Rich WebView ANE (Android+iOS)
This extension is a perfect replacement to the classic StageWebView and it allows you to easily call Javascript functions from flash and send String messages from JS to flash. it also gives you many new features that the classic StageWebView couldn't provide. Features like File pick or GPS access.

**Main Features:**
Expand All @@ -18,10 +18,7 @@ This extension is a perfect replacement to the classic StageWebView and it allow
* Support Android custom-tabs
* Supports iOS SafariViewController

# asdoc
[find the latest asdoc for this ANE here.](http://myflashlab.github.io/asdoc/com/myflashlab/air/extensions/webView/package-detail.html)

[Download demo ANE](https://github.com/myflashlab/webView-ANE/tree/master/AIR/lib)
[find the latest **asdoc** for this ANE here.](http://myflashlab.github.io/asdoc/com/myflashlab/air/extensions/webView/package-detail.html)

# Air Usage
For the complete AS3 code usage, see the [demo project here](https://github.com/myflashlab/webView-ANE/blob/master/AIR/src/Main.as).
Expand Down Expand Up @@ -271,128 +268,6 @@ https://www.myflashlabs.com/product/rich-webview-ane-adobe-air-native-extension/
[How to Open file picker on the input html fields?](http://www.myflashlabs.com/adobe-air-html-file-pick-webview/)
[How to open/parse pdf using RichWebview ANE?](http://www.myflashlabs.com/how-to-open-parse-pdf-using-richwebview-ane/)

# Changelog
*Dec 4, 2018 - V7.1.5*
* Works with OverrideAir ANE V5.6.1 or higher
* Works with ANELAB V1.1.26 or higher

*Sep 25, 2018 - V7.1.4*
* Removed androidSupport dependency. The ANE now depends on the following:
* ```<extensionID>com.myflashlab.air.extensions.dependency.overrideAir</extensionID>```
* ```<extensionID>com.myflashlab.air.extensions.dependency.androidSupport.core</extensionID>```
* ```<extensionID>com.myflashlab.air.extensions.dependency.androidSupport.v4</extensionID>```
* ```<extensionID>com.myflashlab.air.extensions.dependency.androidSupport.customtabs</extensionID>```

*Dec 15, 2017 - V7.1.3*
* optimized for [ANE-LAB sofwate](https://github.com/myflashlab/ANE-LAB).

*Aug 20, 2017 - V7.1.1*
* Fixed customtabs on Android devices with Android version 7.1.1 and higher. The equal version numbers are just a coincidence :D
* Added sample intelliJ app

*May 08, 2017 - V7.1.0*
* Added support for loading HTML Strings directly. [openData](http://myflashlab.github.io/asdoc/com/myflashlab/air/extensions/webView/RichWebView.html#openData())
* Find usage in sample [Demo.as](https://github.com/myflashlab/webView-ANE/blob/master/AIR/src/Demo.as)

*Apr 05, 2017 - V7.0.0*
* Added support for Android customtabs - Sample codes updated
* Added support for iOS safariViewController - Sample codes updated
* Updated the ANE with the latest version of overrideAir. if you are building for iOS only, you still need to include this dependency in your project

*Nov 08, 2016 - V6.6.0*
* Optimized for Android manual permissions if you are targeting AIR SDK 24+
* From now on, this ANE will depend on androidSupport.ane and overrideAir.ane on the Android side

*Sep 14, 2016 - V6.5.0*
* ```ENABLE_AIR_PREFIX``` added to ```RichWebViewSettings```. The default value is ```true```. This property is useful on the Android side only and has no effect on the iOS side. AIR apps have *air.* prefix at the beginning of their Android package name but there are methods to remove this prefix. Therefore, those devs who are removing the *air.* prefix manually, should also set this property to ```false``` for the RichWebview to be able to load local content properly.


*Aug 07, 2016 - V6.4.0*
* The constructor function ```new RichWebView(this.stage);``` accepts only one parameter from now on. However, to config the RichWebview settings, you should change static values in ```RichWebViewSettings```.
* ```ENABLE_THIRD_PARTY_COOKIES``` added to ```RichWebViewSettings``` which enables third-party cookies on Android. Changing this value makes no difference on the iOS side. The reason is [explained here](https://discussions.apple.com/thread/4156939?tstart=0) and a possible workaround is [described here](http://stackoverflow.com/questions/9930671/safari-3rd-party-cookie-iframe-trick-no-longer-working).


*Jun 15, 2016 - V6.3.0*
* Added support for ```setAllowUniversalAccessFromFileURLs``` on Android side. [asked here](https://github.com/myflashlab/webView-ANE/issues/93)
* Fixed touch positions which was wrong on some iOS devices based on their DPI value. Now the returned x,y are corrected based on different devices DPI values. [asked here](https://github.com/myflashlab/webView-ANE/issues/96)
* Introduced a new listener ```RichWebViewEvent.PAGE_STARTING``` which will notify you on the next URL which is about to load in webview. When you receive this event, you must decide if you wish the webview load the URL or you wish to handle it yourself. If you don't add the listener, the ANE will work like before BUT if you do add the listener, you MUST call ```_ex.shouldContinueLoadingTheURL();``` to allow the webview load links normally. This is shown in the sample code below.
```actionscript
_ex.addEventListener(RichWebViewEvent.PAGE_STARTING, onPageStarting);
function onPageStarting(e:RichWebViewEvent):void
{
if (String(e.param).indexOf("mailto:") == 0)
{
trace("do something with the mailto: links!");
}
else
{
// allow other link types to load normally
_ex.shouldContinueLoadingTheURL();
}
}
```


*Apr 30, 2016 - V6.2.0*
* Fixed the problem of loading local pages on some Android devices like Nexus
* Found a solution for the StageText listeners. check out https://github.com/myflashlab/webView-ANE/issues/61#issuecomment-215052184
* Fixed the Bitmap screenshot problem on some Android devices
* You can now set the browser UserAgent manually or leave it empty for the webview to use the default setting. (On Android devices, you need to set the useragent to *Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/534.36 (KHTML, like Gecko) Chrome/13.0.766.0 Safari/534.36* for YouTube or Vimeo players to work.)

*Feb 21, 2016 - V6.1.0*
* New property added to move the Android Task to background ```moveAndroidTaskToBack()```
* New listener to know when RichWebView is touched ```RichWebViewEvent.TOUCH```
* Fixed the setViewPort bug in iOS which used to scroll the content to the top of the page. that won't happen anymore just like the Android side
* Fixed other minor bugs

*Feb 13, 2016 - V6.0.0*
* Supporting iFrame embeded videos
* removed AirBridge.js altogether! you won't see it anymore but it's there and will be injected into any html page that will be loaded. This will be a huge help to you to keep things as clean as possible.
* corrected misspelling of the ```RECEIVED_MESSAGE_FROM_JS``` listener
* introduced ```RichWebViewSettings``` class where you can set different options for your WebView on how it performs. As a result, you don't have to set the settings when initializing the extension in the constructor. instead you can set settings from the RichWebViewSettings class. old settings like gps and screenshots are there plus some new settings.
* Added a cool feature to RichWebViewSettings is ```BG_COLOR_HEX``` which supports alpha channel too. for example this means a complete white bg ```RichWebViewSettings.BG_COLOR_HEX = "#FFFFFFFF";``` while the following means a transparent bg ```RichWebViewSettings.BG_COLOR_HEX = "#00FFFFFF";```
* set keyboardDisplayRequiresUserAction on iOS to NO by default.
* added ```hide()``` method and ```visible``` property to make the webview in/visible easily and fast


*Jan 20, 2016 - V5.1*
* bypassing xCode 7.2 bug causing iOS conflict when compiling with AirSDK 20 without waiting on Adobe or Apple to fix the problem. This is a must have upgrade for your app to make sure you can compile multiple ANEs in your project with AirSDK 20 or greater. https://forums.adobe.com/thread/2055508 https://forums.adobe.com/message/8294948


*Jan 03, 2015 - V5.0*
* added support for loading local html files from File.applicationStorageDirectory too
* the bridge javascript code will now be injected into html pages automatically from the extension so you don't have to add the js file to your html content anymore
* When using RichWebview ANE, there is a "AirBridge.js" file on the root next to the main Air .swf file and you should NOT move or rename this file because native side is using this file to inject js functions into loaded html pages
* You may use this js file to add your own js functions to inject along with our current code which is necesary for the ANE to function correctly
* From this version, you must call AirBridge.evoke() method to call functions on the Air side. so make sure you have studied and tested the extension fully before adding it into your projects which is using older versions of this extension


*Dec 20, 2015 - V4.9.1*
* minor bug fixes


*Nov 03, 2015 - V4.9*
* doitflash devs merged into MyFLashLab Team


*Oct 11, 2015 - V4.0*
* Added support for user zoom pinch
* updated load methods to be able to load new pages without the need to dispose the webview at first. This improves user expirience a lot
* depricated 'setPosition' in favor of the new method 'setViewPort'
* added x, y, width and height properties to the extension so it can be a lot easier to manage its dimension on the stage


*Aug 17, 2015 - V3.0*
* Added inputfile picker support
* Added Gps support
* fixed minor bugs


*Jul 21, 2015 - V2.0*
* Added bitmap screenshot
* support inline HTML5 video tag


*Jun 16, 2015 - V1.0*
* beginning of the journey!
# Premium Support #
[![Premium Support package](https://www.myflashlabs.com/wp-content/uploads/2016/06/professional-support.jpg)](https://www.myflashlabs.com/product/myflashlabs-support/)
If you are an [active MyFlashLabs club member](https://www.myflashlabs.com/product/myflashlabs-club-membership/), you will have access to our private and secure support ticket system for all our ANEs. Even if you are not a member, you can still receive premium help if you purchase the [premium support package](https://www.myflashlabs.com/product/myflashlabs-support/).
17 changes: 0 additions & 17 deletions issue_template.md

This file was deleted.

0 comments on commit ce717ab

Please sign in to comment.