Updated version and RELEASENOTES.md for release 4.0.0 (media-capture-v4.0.0)
diff --git a/RELEASENOTES.md b/RELEASENOTES.md
index a2849dd..32fec50 100644
--- a/RELEASENOTES.md
+++ b/RELEASENOTES.md
@@ -20,10 +20,37 @@
 -->
 # Release Notes
 
+### 4.0.0 (May 25, 2022)
+
+* [GH-238](https://github.com/apache/cordova-plugin-media-capture/pull/238) dep!: bump `cordova-plugin-file@^7.0.0`
+* [GH-248](https://github.com/apache/cordova-plugin-media-capture/pull/248) test: remove `cordova-plugin-media` dependency
+* [GH-247](https://github.com/apache/cordova-plugin-media-capture/pull/247) chore: bump `cordovaDependencies` next next major cordova requirement
+* [GH-246](https://github.com/apache/cordova-plugin-media-capture/pull/246) chore: rebuilt `package-lock` w/ v2
+* [GH-192](https://github.com/apache/cordova-plugin-media-capture/pull/192) fix(android): Unify and fix permission check
+* [GH-231](https://github.com/apache/cordova-plugin-media-capture/pull/231) ci(ios): update workflow w/ **iOS** 15
+* [GH-230](https://github.com/apache/cordova-plugin-media-capture/pull/230) ci: add `action-badge`
+* [GH-229](https://github.com/apache/cordova-plugin-media-capture/pull/229) ci: remove `travis` & `appveyor`
+* [GH-228](https://github.com/apache/cordova-plugin-media-capture/pull/228) ci: add `gh-actions` workflows
+* [GH-200](https://github.com/apache/cordova-plugin-media-capture/pull/200) fix(android): remove unknown permission `android.permission.RECORD_VIDEO`
+* [GH-203](https://github.com/apache/cordova-plugin-media-capture/pull/203) ci: add node-14.x to workflow
+* [GH-193](https://github.com/apache/cordova-plugin-media-capture/pull/193) chore: clean up `package.json`
+* [GH-189](https://github.com/apache/cordova-plugin-media-capture/pull/189) ci(travis): update osx xcode image
+* [GH-177](https://github.com/apache/cordova-plugin-media-capture/pull/177) breaking(ios): remove code warnings
+* [GH-188](https://github.com/apache/cordova-plugin-media-capture/pull/188) ci(travis): updates **Android** API level
+* [GH-180](https://github.com/apache/cordova-plugin-media-capture/pull/180) chore: adds `package-lock` file
+* [GH-179](https://github.com/apache/cordova-plugin-media-capture/pull/179) refactor(eslint): use `cordova-eslint` /w fix
+* [GH-178](https://github.com/apache/cordova-plugin-media-capture/pull/178) chore(npm): use short notation in `package.json`
+* chore(asf): update git notification settings
+* Update CONTRIBUTING.md
+* [GH-165](https://github.com/apache/cordova-plugin-media-capture/pull/165) ci: updates Node.js versions
+* [GH-164](https://github.com/apache/cordova-plugin-media-capture/pull/164) chore(npm): improve ignore list
+* [GH-161](https://github.com/apache/cordova-plugin-media-capture/pull/161) Small javadoc fix
+* ci(travis): upgrade to node 8
+
 ### 3.0.3 (Jun 19, 2019)
 
 -   fix(android): Catch ActivityNotFoundException ([#104](https://github.com/apache/cordova-plugin-media-capture/issues/104)) ([`f69ba2a`](https://github.com/apache/cordova-plugin-media-capture/commit/f69ba2a))
--   fix(android): CB-14260: (android) captureImage permission denial on android 8.1 ([#95](https://github.com/apache/cordova-plugin-media-capture/issues/95)) ([`3755f9f`](https://github.com/apache/cordova-plugin-media-capture/commit/3755f9f))
+-   fix(android): [CB-14260](https://issues.apache.org/jira/browse/CB-14260) (android) captureImage permission denial on android 8.1 ([#95](https://github.com/apache/cordova-plugin-media-capture/issues/95)) ([`3755f9f`](https://github.com/apache/cordova-plugin-media-capture/commit/3755f9f))
 -   docs: remove outdated translations ([`6422b2b`](https://github.com/apache/cordova-plugin-media-capture/commit/6422b2b))
 -   build: add `.npmignore` to remove unneeded files from npm package ([`586f917`](https://github.com/apache/cordova-plugin-media-capture/commit/586f917))
 -   build: add `.gitattributes` to force LF (instead of possible CRLF on Windows) ([`246ce57`](https://github.com/apache/cordova-plugin-media-capture/commit/246ce57))
diff --git a/package-lock.json b/package-lock.json
index 2e5120a..91798b1 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -1,12 +1,12 @@
 {
   "name": "cordova-plugin-media-capture",
-  "version": "4.0.0-dev",
+  "version": "4.0.0",
   "lockfileVersion": 2,
   "requires": true,
   "packages": {
     "": {
       "name": "cordova-plugin-media-capture",
-      "version": "4.0.0-dev",
+      "version": "4.0.0",
       "license": "Apache-2.0",
       "devDependencies": {
         "@cordova/eslint-config": "^3.0.0"
diff --git a/package.json b/package.json
index deafbdd..d5c600f 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
 {
   "name": "cordova-plugin-media-capture",
-  "version": "4.0.0-dev",
+  "version": "4.0.0",
   "description": "Cordova Media Capture Plugin",
   "types": "./types/index.d.ts",
   "cordova": {
diff --git a/plugin.xml b/plugin.xml
index e713a8f..762bff3 100644
--- a/plugin.xml
+++ b/plugin.xml
@@ -21,7 +21,7 @@
 <plugin xmlns="http://apache.org/cordova/ns/plugins/1.0"
 xmlns:android="http://schemas.android.com/apk/res/android"
            id="cordova-plugin-media-capture"
-      version="4.0.0-dev">
+      version="4.0.0">
     <name>Capture</name>
 
     <description>Cordova Media Capture Plugin</description>
diff --git a/tests/package.json b/tests/package.json
index f0ec375..ae39319 100644
--- a/tests/package.json
+++ b/tests/package.json
@@ -1,6 +1,6 @@
 {
   "name": "cordova-plugin-media-capture-tests",
-  "version": "4.0.0-dev",
+  "version": "4.0.0",
   "description": "",
   "cordova": {
     "id": "cordova-plugin-media-capture-tests",
diff --git a/tests/plugin.xml b/tests/plugin.xml
index c26f26e..66ca597 100644
--- a/tests/plugin.xml
+++ b/tests/plugin.xml
@@ -22,7 +22,7 @@
     xmlns:android="http://schemas.android.com/apk/res/android"
     xmlns:rim="http://www.blackberry.com/ns/widgets"
     id="cordova-plugin-media-capture-tests"
-    version="4.0.0-dev">
+    version="4.0.0">
     <name>Cordova Media Capture Plugin Tests</name>
     <license>Apache 2.0</license>