Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion RNFS.podspec → RNFS2.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ require 'json'
pjson = JSON.parse(File.read('package.json'))

Pod::Spec.new do |s|
s.name = "RNFS"
s.name = "RNFS2"
s.version = pjson["version"]
s.homepage = "https://github.com/sourcetoad/react-native-fs2"
s.summary = pjson["description"]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@
/* End PBXGroup section */

/* Begin PBXNativeTarget section */
F12AFB9A1ADAF8F800E0535D /* RNFS */ = {
F12AFB9A1ADAF8F800E0535D /* RNFS2 */ = {
isa = PBXNativeTarget;
buildConfigurationList = F12AFBAF1ADAF8F800E0535D /* Build configuration list for PBXNativeTarget "RNFS" */;
buildPhases = (
Expand All @@ -81,7 +81,7 @@
);
dependencies = (
);
name = RNFS;
name = RNFS2;
productName = RNLocalNotification;
productReference = F12AFB9B1ADAF8F800E0535D /* libRNFS.a */;
productType = "com.apple.product-type.library.static";
Expand Down Expand Up @@ -113,7 +113,7 @@
projectDirPath = "";
projectRoot = "";
targets = (
F12AFB9A1ADAF8F800E0535D /* RNFS */,
F12AFB9A1ADAF8F800E0535D /* RNFS2 */,
);
};
/* End PBXProject section */
Expand Down Expand Up @@ -245,7 +245,7 @@
/* End XCBuildConfiguration section */

/* Begin XCConfigurationList section */
F12AFB961ADAF8F800E0535D /* Build configuration list for PBXProject "RNFS" */ = {
F12AFB961ADAF8F800E0535D /* Build configuration list for PBXProject "RNFS2" */ = {
isa = XCConfigurationList;
buildConfigurations = (
F12AFBAD1ADAF8F800E0535D /* Debug */,
Expand All @@ -254,7 +254,7 @@
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
F12AFBAF1ADAF8F800E0535D /* Build configuration list for PBXNativeTarget "RNFS" */ = {
F12AFBAF1ADAF8F800E0535D /* Build configuration list for PBXNativeTarget "RNFS2" */ = {
isa = XCConfigurationList;
buildConfigurations = (
F12AFBB01ADAF8F800E0535D /* Debug */,
Expand Down
2 changes: 1 addition & 1 deletion android/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.rnfs" >
package="com.rnfs2" >
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
</manifest>
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.rnfs;
package com.rnfs2;

import java.io.File;
import java.net.URL;
Expand Down Expand Up @@ -29,4 +29,4 @@ public interface OnDownloadProgress {
public OnTaskCompleted onTaskCompleted;
public OnDownloadBegin onDownloadBegin;
public OnDownloadProgress onDownloadProgress;
}
}
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.rnfs;
package com.rnfs2;

public class DownloadResult {
public int statusCode;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.rnfs;
package com.rnfs2;

import java.io.FileOutputStream;
import java.io.BufferedInputStream;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.rnfs;
package com.rnfs2;

class IORejectionException extends Exception {
private String code;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.rnfs;
package com.rnfs2;

import android.database.Cursor;
import android.net.Uri;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.rnfs;
package com.rnfs2;

import androidx.annotation.NonNull;

Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
"lib",
"android",
"ios",
"RNFS2.xcodeproj",
"*.podspec",
"!example",
"!lib/typescript/example",
Expand Down