Skip to content
This repository was archived by the owner on Oct 7, 2021. It is now read-only.

Commit 350f423

Browse files
committed
release v0.3.5
1 parent a8ac565 commit 350f423

File tree

6 files changed

+16
-26
lines changed

6 files changed

+16
-26
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
# Changelog
22
All notable changes to this project will be documented in this file.
33

4+
## 0.3.5 - 2019-07-17
5+
- Adds support for single quotes and double quotes in command strings
6+
47
## 0.3.4 - 2019-07-05
58
- Implements side data information parsing
69

README.md

Lines changed: 7 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# React Native FFmpeg ![GitHub release](https://img.shields.io/badge/release-v0.3.4-blue.svg) [![npm](https://img.shields.io/npm/v/react-native-ffmpeg.svg)](react-native-ffmpeg)
1+
# React Native FFmpeg ![GitHub release](https://img.shields.io/badge/release-v0.3.5-blue.svg) [![npm](https://img.shields.io/npm/v/react-native-ffmpeg.svg)](react-native-ffmpeg)
22

33
FFmpeg for React Native
44

@@ -285,7 +285,7 @@ In order to install the `LTS` variant, install the `https-lts` package using ins
285285
286286
#### 4.2 Source Code
287287
288-
- `master` includes the latest released version `v0.3.4`
288+
- `master` includes the latest released version `v0.3.5`
289289
- `development` branch includes new features and unreleased fixes
290290
291291
### 5. LTS Releases
@@ -313,19 +313,7 @@ Packages from LTS variant includes `-lts` postfix in their names. So if you want
313313
314314
Apply provided solutions if you encounter one of the following issues.
315315
316-
- You should not use double quotes (") to define your complex filters or map definitions.
317-
```
318-
-filter_complex [0:v]scale=1280:-1[v] -map [v]
319-
```
320-
321-
- If your commands include unnecessary quotes or space characters, your command will fail with `No such filter: ' '` errors. Please check your command and remove them.
322-
323-
- `react-native-ffmpeg` uses file system paths, it does not know what an assets folder or project folder is. So you can't use resources on those folders directly, you need to provide full paths of those resources.
324-
325-
- `execute` method is overloaded and has an optional delimiter parameter. Delimiter defines how the command string will be split into arguments.
326-
When delimiter is not specified the space character is used as the default delimiter.
327-
Based on this, if one or more of your command arguments include a space character, in filename path or in `-filter_complex` block, then your command string will be split into invalid arguments and execution will fail.
328-
You can fix this error by splitting your command string into array yourself and calling `executeWithArguments` method or using a different delimiter character in your command string and specifying it in `execute` call.
316+
- `react-native-ffmpeg` uses file system paths, it does not know what an `assets` folder or a `project` folder is. So you can't use resources on those folders directly, you need to provide full paths of those resources.
329317
330318
- Enabling `ProGuard` on releases older than `v0.3.3` causes linking errors. Please add the following rule inside your `proguard-rules.pro` file to preserve necessary method names and prevent linking errors.
331319
@@ -354,7 +342,7 @@ You can overcome this situation by registering a font using `RNFFmpeg.setFontDir
354342
```
355343
356344
- Add `"postinstall": "sed -i '' 's\/#import <RCTAnimation\\/RCTValueAnimatedNode.h>\/#import \"RCTValueAnimatedNode.h\"\/' ./node_modules/react-native/Libraries/NativeAnimation/RCTNativeAnimatedNodesManager.h"`
357-
line to the scripts section of your package.json as recommended in [react-native issue # 13198](https://github.com/facebook/react-native/issues/13198#issuecomment-302917321),
345+
line to the `scripts` section of your `package.json` as recommended in [react-native issue # 13198](https://github.com/facebook/react-native/issues/13198#issuecomment-302917321),
358346
if your build receives the following error for iOS.
359347
360348
```
@@ -364,20 +352,19 @@ if your build receives the following error for iOS.
364352
1 error generated.
365353
```
366354
367-
- When `pod install` is not successful with the following message, delete `Podfile.lock` file and run `pod install` again.
355+
- When `pod install` fails with the following message, delete `Podfile.lock` file and run `pod install` again.
368356
369357
```
370358
[!] Unable to find a specification for 'react-native-ffmpeg'.
371359
```
372360
373-
- If `react-native link` is used for iOS linking, building may fail with this error. Running `pod install` again
374-
fixes this issue.
361+
- If `react-native link` is used for iOS, build may fail with the error below. Running `pod install` again fixes this issue.
375362
376363
```
377364
../node_modules/react-native-ffmpeg/ios/Pods/Target Support Files/Pods-ReactNativeFFmpeg/Pods-ReactNativeFFmpeg.debug.xcconfig: unable to open file (in target "ReactNativeFFmpeg" in project "ReactNativeFFmpeg") (in target 'ReactNativeFFmpeg')
378365
```
379366
380-
- Using `cocoapods` for iOS dependency management may produce duplicate symbols for `libReact.a` and `libyoga.a`.
367+
- On React Native < 0.60, using `cocoapods` for iOS dependency management may produce duplicate symbols for `libReact.a` and `libyoga.a`.
381368
Add the following block to your `Podfile` and run `pod install` again.
382369
383370
```

android/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@ android {
2929
defaultConfig {
3030
minSdkVersion safeExtGet('reactNativeFFmpegPackage', 'https').contains("-lts") ? 16 : 24
3131
targetSdkVersion 28
32-
versionCode 34
33-
versionName "0.3.4"
32+
versionCode 35
33+
versionName "0.3.5"
3434
project.archivesBaseName = "react-native-ffmpeg"
3535
}
3636
lintOptions {

ios/react-native-ffmpeg.podspec

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Pod::Spec.new do |s|
22
s.name = 'react-native-ffmpeg'
3-
s.version = '0.3.4'
3+
s.version = '0.3.5'
44
s.summary = 'FFmpeg for React Native'
55
s.description = 'React Native FFmpeg based on mobile-ffmpeg'
66
s.homepage = 'https://github.com/tanersener/react-native-ffmpeg'
@@ -13,7 +13,7 @@ Pod::Spec.new do |s|
1313
s.ios.deployment_target = '9.3'
1414
s.static_framework = true
1515

16-
s.source = { :git => 'https://github.com/tanersener/react-native-ffmpeg.git', :tag => 'v0.3.4'}
16+
s.source = { :git => 'https://github.com/tanersener/react-native-ffmpeg.git', :tag => 'v0.3.5'}
1717
s.source_files = 'ios/RNFFmpegModule.m',
1818
'ios/RNFFmpegModule.h'
1919

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-native-ffmpeg",
3-
"version": "0.3.4",
3+
"version": "0.3.5",
44
"description": "FFmpeg for React Native",
55
"main": "index.js",
66
"typings": "index.d.ts",

0 commit comments

Comments
 (0)