Skip to content
Open
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
13 changes: 7 additions & 6 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,12 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- name: Use Node.js 18.x
uses: actions/setup-node@v3
- uses: actions/checkout@v7
- name: Use Node.js 24.x
uses: actions/setup-node@v7
with:
node-version: 18.x
- run: npm install
node-version: 24.x
cache: npm
- run: npm ci
- run: npm run build
- run: npm test
- run: npm test
24 changes: 12 additions & 12 deletions android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -5,23 +5,23 @@ def safeExtGet(prop, fallback) {
apply plugin: 'com.android.library'

android {
compileSdkVersion safeExtGet('compileSdkVersion', 27)
buildToolsVersion safeExtGet('buildToolsVersion', '27.0.3')
namespace "com.aptabase.aptabase"
compileSdkVersion safeExtGet('compileSdkVersion', 36)

defaultConfig {
minSdkVersion safeExtGet('minSdkVersion', 16)
targetSdkVersion safeExtGet('targetSdkVersion', 27)
versionCode 1
versionName "1.0"
ndk {
abiFilters "armeabi-v7a", "x86"
}
minSdkVersion safeExtGet('minSdkVersion', 24)
targetSdkVersion safeExtGet('targetSdkVersion', 36)
}
lintOptions {
warning 'InvalidPackage'

compileOptions {
sourceCompatibility JavaVersion.VERSION_17
targetCompatibility JavaVersion.VERSION_17
}
}

dependencies {
// The React Native Gradle Plugin substitutes this with the exact
// com.facebook.react:react-android version used by the consuming app.
//noinspection GradleDynamicVersion
implementation 'com.facebook.react:react-native:+'
}
}
5 changes: 2 additions & 3 deletions android/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.aptabase.aptabase">
</manifest>
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
</manifest>
6 changes: 3 additions & 3 deletions aptabase-react-native.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ Pod::Spec.new do |s|

s.authors = package['author']
s.homepage = package['homepage']
s.platform = :ios, "10.0"
s.platform = :ios, "15.1"

s.source = { :git => "https://github.com/demchenkoalex/react-native-module-template.git", :tag => "v#{s.version}" }
s.source = { :git => "https://github.com/aptabase/aptabase-react-native.git", :tag => s.version.to_s }
s.source_files = "ios/**/*.{h,m,swift}"

s.dependency 'React'
s.dependency 'React-Core'
end
Loading