Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
39 commits
Select commit Hold shift + click to select a range
c724a21
android uid last 2 bytes lost fixed
Sep 7, 2020
3a32f9c
Update build.gradle
Apr 17, 2024
265b49e
Update NativeEventEmitter.js
Apr 17, 2024
822e27e
Update EddystoneModule.java
Apr 17, 2024
a83486d
Update Manager.js
Oct 30, 2024
40c7792
new architecture
JaioSkura Jan 15, 2025
2123ae9
changed version name
JaioSkura Jan 15, 2025
ffe1615
Permissions problems fixed
JaioSkura Jan 16, 2025
425fd87
Permissions problems fixed
JaioSkura Jan 16, 2025
debb448
podsspec changed
JaioSkura Jan 30, 2025
cdc78d7
more changes for iOS
JaioSkura Jan 30, 2025
4c78c10
added node_modules in gitiginore
JaioSkura Jan 30, 2025
1c3a727
crazy test
JaioSkura Jan 30, 2025
ddedbab
Update package.json
JaioSkura Jan 31, 2025
9249189
Rename react-native-eddystone.podspec to RNEddystoneManager.podspec
JaioSkura Jan 31, 2025
cf2d8f4
Update package.json
JaioSkura Jan 31, 2025
1fa249b
Update RNEddystoneManager.podspec
JaioSkura Jan 31, 2025
29d63b3
Update RNEddystoneManager.podspec
JaioSkura Jan 31, 2025
47af318
Update RNEddystoneManager.podspec
JaioSkura Jan 31, 2025
829dc92
package.json changed
JaioSkura Feb 4, 2025
41fb0f4
Merge branch 'master' of github.com:JaioSkura/react-native-eddystone
JaioSkura Feb 4, 2025
6b9caa4
changing podspec
JaioSkura Feb 4, 2025
b6579a3
Rename react-native-eddystone.podspec to RNEddystoneModule.podspec
JaioSkura Feb 4, 2025
31b367b
Update build.gradle
JaioSkura Feb 4, 2025
7d8e76e
Update package.json
JaioSkura Feb 5, 2025
e4c8806
Update package.json
JaioSkura Feb 5, 2025
9ab090a
Update package.json
JaioSkura Feb 5, 2025
65b91a0
bin removed and Android folders refactored
JaioSkura Feb 5, 2025
e885493
merge done
JaioSkura Feb 5, 2025
7ea7e22
package folders changed
JaioSkura Feb 5, 2025
2d344a5
Update package.json
JaioSkura Feb 5, 2025
99048a9
Update RNEddystoneModule.podspec
JaioSkura Feb 5, 2025
a3810ce
updated ios version1
JaioSkura Feb 6, 2025
56a89c8
Merge branch 'master' of github.com:JaioSkura/react-native-eddystone
JaioSkura Feb 6, 2025
d1efae7
podspec updated
JaioSkura Feb 7, 2025
5a8e2b5
podspec changed
JaioSkura Feb 11, 2025
182fdee
Update RNEddystoneModule.podspec
JaioSkura Feb 11, 2025
07b06fc
Update EddystoneModule.mm
JaioSkura Feb 11, 2025
23ac57f
Update EddystoneModule.mm
JaioSkura Feb 11, 2025
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: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,5 @@
.settings

build/

node_modules/
3 changes: 3 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"C_Cpp.errorSquiggles": "disabled"
}
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
The MIT License

Copyright (c) 2019 lg2
Copyright (c) 2025 Skura

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
45 changes: 45 additions & 0 deletions RNEddystoneModule.podspec
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
require "json"

package = JSON.parse(File.read(File.join(__dir__, "package.json")))

folly_compiler_flags = '-DFOLLY_NO_CONFIG -DFOLLY_MOBILE=1 -DFOLLY_USE_LIBCPP=1 -Wno-comma -Wno-shorten-64-to-32'

Pod::Spec.new do |s|
s.name = "RNEddystoneModule"
s.version = package["version"]
s.summary = package["description"]
s.description = package["description"]
s.homepage = package["homepage"]
s.license = package["license"]
s.platforms = { :ios => "11.0" }
s.author = package["author"]
s.source = { :git => package["repository"], :tag => "#{s.version}" }


s.source_files = [
"ios/**/*.{h,m,mm}",
]
# Use install_modules_dependencies helper to install the dependencies if React Native version >=0.71.0.
# See https://github.com/facebook/react-native/blob/febf6b7f33fdb4904669f99d795eba4c0f95d7bf/scripts/cocoapods/new_architecture.rb#L79.
if respond_to?(:install_modules_dependencies, true)
install_modules_dependencies(s)
else
s.dependency "React-Core"

# Don't install the dependencies when we run `pod install` in the old architecture.
if ENV['RCT_NEW_ARCH_ENABLED'] == '1' then
s.compiler_flags = folly_compiler_flags + " -DRCT_NEW_ARCH_ENABLED=1"
s.pod_target_xcconfig = {
"HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)/boost\"",
"OTHER_CPLUSPLUSFLAGS" => "-DFOLLY_NO_CONFIG -DFOLLY_MOBILE=1 -DFOLLY_USE_LIBCPP=1",
"CLANG_CXX_LANGUAGE_STANDARD" => "c++17"
}
s.dependency "React-Codegen"
s.dependency "RCT-Folly"
s.dependency "RCTRequired"
s.dependency "RCTTypeSafety"
s.dependency "ReactCommon/turbomodule/core"
end
end

end
46 changes: 30 additions & 16 deletions android/build.gradle
Original file line number Diff line number Diff line change
@@ -1,36 +1,50 @@

buildscript {
ext.safeExtGet = {prop, fallback ->
rootProject.ext.has(prop) ? rootProject.ext.get(prop) : fallback
}
repositories {
jcenter()
google()
gradlePluginPortal()
}

dependencies {
classpath 'com.android.tools.build:gradle:1.3.1'
classpath("com.android.tools.build:gradle:7.0.4")
}
}

def isNewArchitectureEnabled() {
return project.hasProperty("newArchEnabled") && project.newArchEnabled == "true"
}
apply plugin: 'com.android.library'

if (isNewArchitectureEnabled()) {
apply plugin: 'com.facebook.react'
}

android {
compileSdkVersion 23
buildToolsVersion "23.0.1"
compileSdkVersion safeExtGet('compileSdkVersion', 31)

defaultConfig {
minSdkVersion 16
targetSdkVersion 22
versionCode 1
versionName "1.0"
}
lintOptions {
abortOnError false
minSdkVersion safeExtGet('minSdkVersion', 21)
targetSdkVersion safeExtGet('targetSdkVersion', 31)
}
}

repositories {
maven {
// All of React Native (JS, Obj-C sources, Android binaries) is installed from npm
url "$projectDir/../node_modules/react-native/android"
}
mavenCentral()
google()
}

dependencies {
compile 'com.facebook.react:react-native:+'
implementation 'com.facebook.react:react-native:+'
}


if (isNewArchitectureEnabled()) {
react {
jsRootDir = file("../src/")
libraryName = "RNEddystoneModule"
codegenJavaPackageName = "com.eddystone"
}
}
7 changes: 6 additions & 1 deletion android/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@

<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.lg2.eddystone">
package="com.eddystone">

<uses-permission android:name="android.permission.BLUETOOTH_CONNECT" />
<uses-permission android:name="android.permission.BLUETOOTH_SCAN" />
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />

</manifest>

Loading