Skip to content

Commit

Permalink
Merge pull request #250 from Karthiccc23/add-progressview-1.4.1
Browse files Browse the repository at this point in the history
Add plugin support for progress-view 1.4.1
  • Loading branch information
rthic23 authored Jan 3, 2024
2 parents 3205d24 + f4e217e commit 23b1bb7
Show file tree
Hide file tree
Showing 2 changed files with 53 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
package com.walmartlabs.ern.container.plugins;

import android.app.Application;

import androidx.annotation.NonNull;
import androidx.annotation.Nullable;

import com.facebook.react.ReactPackage;
import com.reactnativecommunity.progressview.RNCProgressViewPackage;

public class RNCProgressViewPackagePlugin implements ReactPlugin {
@Override
public ReactPackage hook(@NonNull Application application, @Nullable ReactPluginConfig config) {
return new RNCProgressViewPackage();
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
{
"android": {
"root": "android",
"dependencies": [],
"copy": [
{
"source": "android/src/paper/java/com/reactnativecommunity/progressview/*",
"dest": "lib/src/main/java/com/reactnativecommunity/progressview"
}
]
},
"ios": {
"copy": [
{
"dest": "{{{projectName}}}/Libraries/RNCProgressView",
"source": "ios/*"
}
],
"pbxproj": {
"addHeaderSearchPath": [
"\"$(SRCROOT)/{{{projectName}}}/Libraries/RNCProgressView/**\""
],
"addProject": [
{
"group": "Libraries",
"path": "RNCProgressView/RNCProgressView.xcodeproj",
"staticLibs": [
{
"name": "libRNCProgressView.a",
"target": "RNCProgressView"
}
]
}
]
}
}
}

0 comments on commit 23b1bb7

Please sign in to comment.