diff --git a/.gitignore b/.gitignore
index bb5adef..12ec161 100644
--- a/.gitignore
+++ b/.gitignore
@@ -62,3 +62,5 @@ android/keystores/debug.keystore
# generated by bob
lib/
+
+tmp/
\ No newline at end of file
diff --git a/android/libs/gowaku-sources.jar b/android/libs/gowaku-sources.jar
deleted file mode 100644
index 8b5bf3b..0000000
Binary files a/android/libs/gowaku-sources.jar and /dev/null differ
diff --git a/android/libs/gowaku.aar b/android/libs/gowaku.aar
deleted file mode 100644
index 36d801d..0000000
Binary files a/android/libs/gowaku.aar and /dev/null differ
diff --git a/download-gowaku.sh b/download-gowaku.sh
new file mode 100755
index 0000000..1ea43dc
--- /dev/null
+++ b/download-gowaku.sh
@@ -0,0 +1,72 @@
+#!/bin/sh
+
+VERSION=`cat ./go-waku.VERSION`
+
+ANDROID_TAR=gowaku-${VERSION}-android.tar.gz
+IOS_TAR=gowaku-${VERSION}-ios.tar.gz
+SHA_FILE=gowaku-${VERSION}.sha256
+
+echo "Verifying go-waku libs..."
+
+DOWNLOAD_IOS=false
+DOWNLOAD_ANDROID=false
+
+if [ "$1" = "--force" ]; then
+ DOWNLOAD_IOS=true
+ DOWNLOAD_ANDROID=true
+fi
+
+if ! test -f "./android/libs/gowaku.aar"; then
+ echo "android does not exists."
+ DOWNLOAD_ANDROID=true
+fi
+
+if ! test -d "./ios/Gowaku.xcframework"; then
+ echo "ios does not exists."
+ DOWNLOAD_IOS=true
+fi
+
+cd tmp
+
+rm -f ${SHA_FILE}
+wget "https://github.com/status-im/go-waku/releases/download/v${VERSION}/${SHA_FILE}"
+
+if [ "$DOWNLOAD_ANDROID" = true ]; then
+ rm -f ${ANDROID_TAR}
+ wget "https://github.com/status-im/go-waku/releases/download/v${VERSION}/${ANDROID_TAR}"
+
+ if ! sha256sum --status --ignore-missing -c gowaku-0.1.0.sha256; then
+ echo "checksum failed - verify download"
+ exit 1
+ fi
+
+ rm -f ../android/libs/gowaku*
+ tar xvfz ${ANDROID_TAR} -C ../android/libs
+fi
+
+if [ "$DOWNLOAD_IOS" = true ]; then
+ rm -f ${IOS_TAR}
+ wget "https://github.com/status-im/go-waku/releases/download/v${VERSION}/${IOS_TAR}"
+
+ if ! sha256sum --status --ignore-missing -c gowaku-0.1.0.sha256; then
+ echo "checksum failed - verify download"
+ exit 1
+ fi
+
+ rm -rf ../ios/Gowaku.xcframework
+ tar xvfz ${IOS_TAR} -C ../ios
+ unlink ../ios/Gowaku.xcframework/ios-arm64_x86_64-simulator/Gowaku.framework/Gowaku
+ unlink ../ios/Gowaku.xcframework/ios-arm64_x86_64-simulator/Gowaku.framework/Resources
+ unlink ../ios/Gowaku.xcframework/ios-arm64_x86_64-simulator/Gowaku.framework/Versions/Current
+ unlink ../ios/Gowaku.xcframework/ios-arm64_x86_64-simulator/Gowaku.framework/Headers
+ unlink ../ios/Gowaku.xcframework/ios-arm64_x86_64-simulator/Gowaku.framework/Modules
+ unlink ../ios/Gowaku.xcframework/ios-arm64/Gowaku.framework/Gowaku
+ unlink ../ios/Gowaku.xcframework/ios-arm64/Gowaku.framework/Resources
+ unlink ../ios/Gowaku.xcframework/ios-arm64/Gowaku.framework/Versions/Current
+ unlink ../ios/Gowaku.xcframework/ios-arm64/Gowaku.framework/Headers
+ unlink ../ios/Gowaku.xcframework/ios-arm64/Gowaku.framework/Modules
+ mv -f ../ios/Gowaku.xcframework/ios-arm64/Gowaku.framework/Versions/A/* ../ios/Gowaku.xcframework/ios-arm64/Gowaku.framework/
+ mv -f ../ios/Gowaku.xcframework/ios-arm64_x86_64-simulator/Gowaku.framework/Versions/A/* ../ios/Gowaku.xcframework/ios-arm64_x86_64-simulator/Gowaku.framework/
+ rm -rf ../ios/Gowaku.xcframework/ios-arm64_x86_64-simulator/Gowaku.framework/Versions/A
+ rm -rf ../ios/Gowaku.xcframework/ios-arm64/Gowaku.framework/Versions/A
+fi
\ No newline at end of file
diff --git a/go-waku.VERSION b/go-waku.VERSION
new file mode 100644
index 0000000..6c6aa7c
--- /dev/null
+++ b/go-waku.VERSION
@@ -0,0 +1 @@
+0.1.0
\ No newline at end of file
diff --git a/ios/Gowaku.xcframework/Info.plist b/ios/Gowaku.xcframework/Info.plist
deleted file mode 100644
index d6415dc..0000000
--- a/ios/Gowaku.xcframework/Info.plist
+++ /dev/null
@@ -1,40 +0,0 @@
-
-
-
-
- AvailableLibraries
-
-
- LibraryIdentifier
- ios-arm64_x86_64-simulator
- LibraryPath
- Gowaku.framework
- SupportedArchitectures
-
- arm64
- x86_64
-
- SupportedPlatform
- ios
- SupportedPlatformVariant
- simulator
-
-
- LibraryIdentifier
- ios-arm64
- LibraryPath
- Gowaku.framework
- SupportedArchitectures
-
- arm64
-
- SupportedPlatform
- ios
-
-
- CFBundlePackageType
- XFWK
- XCFrameworkFormatVersion
- 1.0
-
-
diff --git a/ios/Gowaku.xcframework/ios-arm64/Gowaku.framework/Gowaku b/ios/Gowaku.xcframework/ios-arm64/Gowaku.framework/Gowaku
deleted file mode 100644
index c136e74..0000000
Binary files a/ios/Gowaku.xcframework/ios-arm64/Gowaku.framework/Gowaku and /dev/null differ
diff --git a/ios/Gowaku.xcframework/ios-arm64/Gowaku.framework/Headers/Gowaku.h b/ios/Gowaku.xcframework/ios-arm64/Gowaku.framework/Headers/Gowaku.h
deleted file mode 100644
index 5a3ab65..0000000
--- a/ios/Gowaku.xcframework/ios-arm64/Gowaku.framework/Headers/Gowaku.h
+++ /dev/null
@@ -1,13 +0,0 @@
-
-// Objective-C API for talking to the following Go packages
-//
-// github.com/status-im/go-waku/mobile
-//
-// File is generated by gomobile bind. Do not edit.
-#ifndef __Gowaku_FRAMEWORK_H__
-#define __Gowaku_FRAMEWORK_H__
-
-#include "Gowaku.objc.h"
-#include "Universe.objc.h"
-
-#endif
diff --git a/ios/Gowaku.xcframework/ios-arm64/Gowaku.framework/Headers/Gowaku.objc.h b/ios/Gowaku.xcframework/ios-arm64/Gowaku.framework/Headers/Gowaku.objc.h
deleted file mode 100644
index 4eed5a3..0000000
--- a/ios/Gowaku.xcframework/ios-arm64/Gowaku.framework/Headers/Gowaku.objc.h
+++ /dev/null
@@ -1,98 +0,0 @@
-// Objective-C API for talking to github.com/status-im/go-waku/mobile Go package.
-// gobind -lang=objc github.com/status-im/go-waku/mobile
-//
-// File is generated by gobind. Do not edit.
-
-#ifndef __Gowaku_H__
-#define __Gowaku_H__
-
-@import Foundation;
-#include "ref.h"
-#include "Universe.objc.h"
-
-
-@protocol GowakuSignalHandler;
-@class GowakuSignalHandler;
-
-@protocol GowakuSignalHandler
-- (void)handleSignal:(NSString* _Nullable)p0;
-@end
-
-FOUNDATION_EXPORT NSString* _Nonnull GowakuAddPeer(NSString* _Nullable address, NSString* _Nullable protocolID);
-
-FOUNDATION_EXPORT NSString* _Nonnull GowakuConnect(NSString* _Nullable address, long ms);
-
-FOUNDATION_EXPORT NSString* _Nonnull GowakuConnectPeerID(NSString* _Nullable peerID, long ms);
-
-FOUNDATION_EXPORT NSString* _Nonnull GowakuContentTopic(NSString* _Nullable applicationName, long applicationVersion, NSString* _Nullable contentTopicName, NSString* _Nullable encoding);
-
-FOUNDATION_EXPORT NSString* _Nonnull GowakuDecodeAsymmetric(NSString* _Nullable messageJSON, NSString* _Nullable privateKey);
-
-FOUNDATION_EXPORT NSString* _Nonnull GowakuDecodeSymmetric(NSString* _Nullable messageJSON, NSString* _Nullable symmetricKey);
-
-FOUNDATION_EXPORT NSString* _Nonnull GowakuDefaultPubsubTopic(void);
-
-FOUNDATION_EXPORT NSString* _Nonnull GowakuDisconnect(NSString* _Nullable peerID);
-
-FOUNDATION_EXPORT NSString* _Nonnull GowakuLightpushPublish(NSString* _Nullable messageJSON, NSString* _Nullable topic, NSString* _Nullable peerID, long ms);
-
-FOUNDATION_EXPORT NSString* _Nonnull GowakuLightpushPublishEncodeAsymmetric(NSString* _Nullable messageJSON, NSString* _Nullable topic, NSString* _Nullable peerID, NSString* _Nullable publicKey, NSString* _Nullable optionalSigningKey, long ms);
-
-FOUNDATION_EXPORT NSString* _Nonnull GowakuLightpushPublishEncodeSymmetric(NSString* _Nullable messageJSON, NSString* _Nullable topic, NSString* _Nullable peerID, NSString* _Nullable symmetricKey, NSString* _Nullable optionalSigningKey, long ms);
-
-FOUNDATION_EXPORT NSString* _Nonnull GowakuListenAddresses(void);
-
-FOUNDATION_EXPORT NSString* _Nonnull GowakuNewNode(NSString* _Nullable configJSON);
-
-FOUNDATION_EXPORT NSString* _Nonnull GowakuPeerCnt(void);
-
-FOUNDATION_EXPORT NSString* _Nonnull GowakuPeerID(void);
-
-FOUNDATION_EXPORT NSString* _Nonnull GowakuPeers(void);
-
-FOUNDATION_EXPORT NSString* _Nonnull GowakuPubsubTopic(NSString* _Nullable name, NSString* _Nullable encoding);
-
-FOUNDATION_EXPORT NSString* _Nonnull GowakuRelayEnoughPeers(NSString* _Nullable topic);
-
-FOUNDATION_EXPORT NSString* _Nonnull GowakuRelayPublish(NSString* _Nullable messageJSON, NSString* _Nullable topic, long ms);
-
-FOUNDATION_EXPORT NSString* _Nonnull GowakuRelayPublishEncodeAsymmetric(NSString* _Nullable messageJSON, NSString* _Nullable topic, NSString* _Nullable publicKey, NSString* _Nullable optionalSigningKey, long ms);
-
-FOUNDATION_EXPORT NSString* _Nonnull GowakuRelayPublishEncodeSymmetric(NSString* _Nullable messageJSON, NSString* _Nullable topic, NSString* _Nullable symmetricKey, NSString* _Nullable optionalSigningKey, long ms);
-
-FOUNDATION_EXPORT NSString* _Nonnull GowakuRelaySubscribe(NSString* _Nullable topic);
-
-FOUNDATION_EXPORT NSString* _Nonnull GowakuRelayUnsubscribe(NSString* _Nullable topic);
-
-// skipped function SetEventCallback with unsupported parameter or return types
-
-
-/**
- * SetMobileSignalHandler setup geth callback to notify about new signal
-used for gomobile builds
-nolint
- */
-FOUNDATION_EXPORT void GowakuSetMobileSignalHandler(id _Nullable handler);
-
-FOUNDATION_EXPORT NSString* _Nonnull GowakuStart(void);
-
-FOUNDATION_EXPORT NSString* _Nonnull GowakuStop(void);
-
-FOUNDATION_EXPORT NSString* _Nonnull GowakuStoreQuery(NSString* _Nullable queryJSON, NSString* _Nullable peerID, long ms);
-
-@class GowakuSignalHandler;
-
-/**
- * SignalHandler defines a minimal interface
-a signal handler needs to implement.
-nolint
- */
-@interface GowakuSignalHandler : NSObject {
-}
-@property(strong, readonly) _Nonnull id _ref;
-
-- (nonnull instancetype)initWithRef:(_Nonnull id)ref;
-- (void)handleSignal:(NSString* _Nullable)p0;
-@end
-
-#endif
diff --git a/ios/Gowaku.xcframework/ios-arm64/Gowaku.framework/Headers/Universe.objc.h b/ios/Gowaku.xcframework/ios-arm64/Gowaku.framework/Headers/Universe.objc.h
deleted file mode 100644
index 019e750..0000000
--- a/ios/Gowaku.xcframework/ios-arm64/Gowaku.framework/Headers/Universe.objc.h
+++ /dev/null
@@ -1,29 +0,0 @@
-// Objective-C API for talking to Go package.
-// gobind -lang=objc
-//
-// File is generated by gobind. Do not edit.
-
-#ifndef __Universe_H__
-#define __Universe_H__
-
-@import Foundation;
-#include "ref.h"
-
-@protocol Universeerror;
-@class Universeerror;
-
-@protocol Universeerror
-- (NSString* _Nonnull)error;
-@end
-
-@class Universeerror;
-
-@interface Universeerror : NSError {
-}
-@property(strong, readonly) _Nonnull id _ref;
-
-- (nonnull instancetype)initWithRef:(_Nonnull id)ref;
-- (NSString* _Nonnull)error;
-@end
-
-#endif
diff --git a/ios/Gowaku.xcframework/ios-arm64/Gowaku.framework/Headers/ref.h b/ios/Gowaku.xcframework/ios-arm64/Gowaku.framework/Headers/ref.h
deleted file mode 100644
index b8036a4..0000000
--- a/ios/Gowaku.xcframework/ios-arm64/Gowaku.framework/Headers/ref.h
+++ /dev/null
@@ -1,35 +0,0 @@
-// Copyright 2015 The Go Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style
-// license that can be found in the LICENSE file.
-
-#ifndef __GO_REF_HDR__
-#define __GO_REF_HDR__
-
-#include
-
-// GoSeqRef is an object tagged with an integer for passing back and
-// forth across the language boundary. A GoSeqRef may represent either
-// an instance of a Go object, or an Objective-C object passed to Go.
-// The explicit allocation of a GoSeqRef is used to pin a Go object
-// when it is passed to Objective-C. The Go seq package maintains a
-// reference to the Go object in a map keyed by the refnum along with
-// a reference count. When the reference count reaches zero, the Go
-// seq package will clear the corresponding entry in the map.
-@interface GoSeqRef : NSObject {
-}
-@property(readonly) int32_t refnum;
-@property(strong) id obj; // NULL when representing a Go object.
-
-// new GoSeqRef object to proxy a Go object. The refnum must be
-// provided from Go side.
-- (instancetype)initWithRefnum:(int32_t)refnum obj:(id)obj;
-
-- (int32_t)incNum;
-
-@end
-
-@protocol goSeqRefInterface
--(GoSeqRef*) _ref;
-@end
-
-#endif
diff --git a/ios/Gowaku.xcframework/ios-arm64/Gowaku.framework/Modules/module.modulemap b/ios/Gowaku.xcframework/ios-arm64/Gowaku.framework/Modules/module.modulemap
deleted file mode 100644
index f9f30ed..0000000
--- a/ios/Gowaku.xcframework/ios-arm64/Gowaku.framework/Modules/module.modulemap
+++ /dev/null
@@ -1,8 +0,0 @@
-framework module "Gowaku" {
- header "ref.h"
- header "Gowaku.objc.h"
- header "Universe.objc.h"
- header "Gowaku.h"
-
- export *
-}
\ No newline at end of file
diff --git a/ios/Gowaku.xcframework/ios-arm64/Gowaku.framework/Resources/Info.plist b/ios/Gowaku.xcframework/ios-arm64/Gowaku.framework/Resources/Info.plist
deleted file mode 100644
index 0d1a4b8..0000000
--- a/ios/Gowaku.xcframework/ios-arm64/Gowaku.framework/Resources/Info.plist
+++ /dev/null
@@ -1,6 +0,0 @@
-
-
-
-
-
-
diff --git a/ios/Gowaku.xcframework/ios-arm64_x86_64-simulator/Gowaku.framework/Gowaku b/ios/Gowaku.xcframework/ios-arm64_x86_64-simulator/Gowaku.framework/Gowaku
deleted file mode 100644
index d8ad444..0000000
Binary files a/ios/Gowaku.xcframework/ios-arm64_x86_64-simulator/Gowaku.framework/Gowaku and /dev/null differ
diff --git a/ios/Gowaku.xcframework/ios-arm64_x86_64-simulator/Gowaku.framework/Headers/Gowaku.h b/ios/Gowaku.xcframework/ios-arm64_x86_64-simulator/Gowaku.framework/Headers/Gowaku.h
deleted file mode 100644
index 5a3ab65..0000000
--- a/ios/Gowaku.xcframework/ios-arm64_x86_64-simulator/Gowaku.framework/Headers/Gowaku.h
+++ /dev/null
@@ -1,13 +0,0 @@
-
-// Objective-C API for talking to the following Go packages
-//
-// github.com/status-im/go-waku/mobile
-//
-// File is generated by gomobile bind. Do not edit.
-#ifndef __Gowaku_FRAMEWORK_H__
-#define __Gowaku_FRAMEWORK_H__
-
-#include "Gowaku.objc.h"
-#include "Universe.objc.h"
-
-#endif
diff --git a/ios/Gowaku.xcframework/ios-arm64_x86_64-simulator/Gowaku.framework/Headers/Gowaku.objc.h b/ios/Gowaku.xcframework/ios-arm64_x86_64-simulator/Gowaku.framework/Headers/Gowaku.objc.h
deleted file mode 100644
index 4eed5a3..0000000
--- a/ios/Gowaku.xcframework/ios-arm64_x86_64-simulator/Gowaku.framework/Headers/Gowaku.objc.h
+++ /dev/null
@@ -1,98 +0,0 @@
-// Objective-C API for talking to github.com/status-im/go-waku/mobile Go package.
-// gobind -lang=objc github.com/status-im/go-waku/mobile
-//
-// File is generated by gobind. Do not edit.
-
-#ifndef __Gowaku_H__
-#define __Gowaku_H__
-
-@import Foundation;
-#include "ref.h"
-#include "Universe.objc.h"
-
-
-@protocol GowakuSignalHandler;
-@class GowakuSignalHandler;
-
-@protocol GowakuSignalHandler
-- (void)handleSignal:(NSString* _Nullable)p0;
-@end
-
-FOUNDATION_EXPORT NSString* _Nonnull GowakuAddPeer(NSString* _Nullable address, NSString* _Nullable protocolID);
-
-FOUNDATION_EXPORT NSString* _Nonnull GowakuConnect(NSString* _Nullable address, long ms);
-
-FOUNDATION_EXPORT NSString* _Nonnull GowakuConnectPeerID(NSString* _Nullable peerID, long ms);
-
-FOUNDATION_EXPORT NSString* _Nonnull GowakuContentTopic(NSString* _Nullable applicationName, long applicationVersion, NSString* _Nullable contentTopicName, NSString* _Nullable encoding);
-
-FOUNDATION_EXPORT NSString* _Nonnull GowakuDecodeAsymmetric(NSString* _Nullable messageJSON, NSString* _Nullable privateKey);
-
-FOUNDATION_EXPORT NSString* _Nonnull GowakuDecodeSymmetric(NSString* _Nullable messageJSON, NSString* _Nullable symmetricKey);
-
-FOUNDATION_EXPORT NSString* _Nonnull GowakuDefaultPubsubTopic(void);
-
-FOUNDATION_EXPORT NSString* _Nonnull GowakuDisconnect(NSString* _Nullable peerID);
-
-FOUNDATION_EXPORT NSString* _Nonnull GowakuLightpushPublish(NSString* _Nullable messageJSON, NSString* _Nullable topic, NSString* _Nullable peerID, long ms);
-
-FOUNDATION_EXPORT NSString* _Nonnull GowakuLightpushPublishEncodeAsymmetric(NSString* _Nullable messageJSON, NSString* _Nullable topic, NSString* _Nullable peerID, NSString* _Nullable publicKey, NSString* _Nullable optionalSigningKey, long ms);
-
-FOUNDATION_EXPORT NSString* _Nonnull GowakuLightpushPublishEncodeSymmetric(NSString* _Nullable messageJSON, NSString* _Nullable topic, NSString* _Nullable peerID, NSString* _Nullable symmetricKey, NSString* _Nullable optionalSigningKey, long ms);
-
-FOUNDATION_EXPORT NSString* _Nonnull GowakuListenAddresses(void);
-
-FOUNDATION_EXPORT NSString* _Nonnull GowakuNewNode(NSString* _Nullable configJSON);
-
-FOUNDATION_EXPORT NSString* _Nonnull GowakuPeerCnt(void);
-
-FOUNDATION_EXPORT NSString* _Nonnull GowakuPeerID(void);
-
-FOUNDATION_EXPORT NSString* _Nonnull GowakuPeers(void);
-
-FOUNDATION_EXPORT NSString* _Nonnull GowakuPubsubTopic(NSString* _Nullable name, NSString* _Nullable encoding);
-
-FOUNDATION_EXPORT NSString* _Nonnull GowakuRelayEnoughPeers(NSString* _Nullable topic);
-
-FOUNDATION_EXPORT NSString* _Nonnull GowakuRelayPublish(NSString* _Nullable messageJSON, NSString* _Nullable topic, long ms);
-
-FOUNDATION_EXPORT NSString* _Nonnull GowakuRelayPublishEncodeAsymmetric(NSString* _Nullable messageJSON, NSString* _Nullable topic, NSString* _Nullable publicKey, NSString* _Nullable optionalSigningKey, long ms);
-
-FOUNDATION_EXPORT NSString* _Nonnull GowakuRelayPublishEncodeSymmetric(NSString* _Nullable messageJSON, NSString* _Nullable topic, NSString* _Nullable symmetricKey, NSString* _Nullable optionalSigningKey, long ms);
-
-FOUNDATION_EXPORT NSString* _Nonnull GowakuRelaySubscribe(NSString* _Nullable topic);
-
-FOUNDATION_EXPORT NSString* _Nonnull GowakuRelayUnsubscribe(NSString* _Nullable topic);
-
-// skipped function SetEventCallback with unsupported parameter or return types
-
-
-/**
- * SetMobileSignalHandler setup geth callback to notify about new signal
-used for gomobile builds
-nolint
- */
-FOUNDATION_EXPORT void GowakuSetMobileSignalHandler(id _Nullable handler);
-
-FOUNDATION_EXPORT NSString* _Nonnull GowakuStart(void);
-
-FOUNDATION_EXPORT NSString* _Nonnull GowakuStop(void);
-
-FOUNDATION_EXPORT NSString* _Nonnull GowakuStoreQuery(NSString* _Nullable queryJSON, NSString* _Nullable peerID, long ms);
-
-@class GowakuSignalHandler;
-
-/**
- * SignalHandler defines a minimal interface
-a signal handler needs to implement.
-nolint
- */
-@interface GowakuSignalHandler : NSObject {
-}
-@property(strong, readonly) _Nonnull id _ref;
-
-- (nonnull instancetype)initWithRef:(_Nonnull id)ref;
-- (void)handleSignal:(NSString* _Nullable)p0;
-@end
-
-#endif
diff --git a/ios/Gowaku.xcframework/ios-arm64_x86_64-simulator/Gowaku.framework/Headers/Universe.objc.h b/ios/Gowaku.xcframework/ios-arm64_x86_64-simulator/Gowaku.framework/Headers/Universe.objc.h
deleted file mode 100644
index 019e750..0000000
--- a/ios/Gowaku.xcframework/ios-arm64_x86_64-simulator/Gowaku.framework/Headers/Universe.objc.h
+++ /dev/null
@@ -1,29 +0,0 @@
-// Objective-C API for talking to Go package.
-// gobind -lang=objc
-//
-// File is generated by gobind. Do not edit.
-
-#ifndef __Universe_H__
-#define __Universe_H__
-
-@import Foundation;
-#include "ref.h"
-
-@protocol Universeerror;
-@class Universeerror;
-
-@protocol Universeerror
-- (NSString* _Nonnull)error;
-@end
-
-@class Universeerror;
-
-@interface Universeerror : NSError {
-}
-@property(strong, readonly) _Nonnull id _ref;
-
-- (nonnull instancetype)initWithRef:(_Nonnull id)ref;
-- (NSString* _Nonnull)error;
-@end
-
-#endif
diff --git a/ios/Gowaku.xcframework/ios-arm64_x86_64-simulator/Gowaku.framework/Headers/ref.h b/ios/Gowaku.xcframework/ios-arm64_x86_64-simulator/Gowaku.framework/Headers/ref.h
deleted file mode 100644
index b8036a4..0000000
--- a/ios/Gowaku.xcframework/ios-arm64_x86_64-simulator/Gowaku.framework/Headers/ref.h
+++ /dev/null
@@ -1,35 +0,0 @@
-// Copyright 2015 The Go Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style
-// license that can be found in the LICENSE file.
-
-#ifndef __GO_REF_HDR__
-#define __GO_REF_HDR__
-
-#include
-
-// GoSeqRef is an object tagged with an integer for passing back and
-// forth across the language boundary. A GoSeqRef may represent either
-// an instance of a Go object, or an Objective-C object passed to Go.
-// The explicit allocation of a GoSeqRef is used to pin a Go object
-// when it is passed to Objective-C. The Go seq package maintains a
-// reference to the Go object in a map keyed by the refnum along with
-// a reference count. When the reference count reaches zero, the Go
-// seq package will clear the corresponding entry in the map.
-@interface GoSeqRef : NSObject {
-}
-@property(readonly) int32_t refnum;
-@property(strong) id obj; // NULL when representing a Go object.
-
-// new GoSeqRef object to proxy a Go object. The refnum must be
-// provided from Go side.
-- (instancetype)initWithRefnum:(int32_t)refnum obj:(id)obj;
-
-- (int32_t)incNum;
-
-@end
-
-@protocol goSeqRefInterface
--(GoSeqRef*) _ref;
-@end
-
-#endif
diff --git a/ios/Gowaku.xcframework/ios-arm64_x86_64-simulator/Gowaku.framework/Modules/module.modulemap b/ios/Gowaku.xcframework/ios-arm64_x86_64-simulator/Gowaku.framework/Modules/module.modulemap
deleted file mode 100644
index f9f30ed..0000000
--- a/ios/Gowaku.xcframework/ios-arm64_x86_64-simulator/Gowaku.framework/Modules/module.modulemap
+++ /dev/null
@@ -1,8 +0,0 @@
-framework module "Gowaku" {
- header "ref.h"
- header "Gowaku.objc.h"
- header "Universe.objc.h"
- header "Gowaku.h"
-
- export *
-}
\ No newline at end of file
diff --git a/ios/Gowaku.xcframework/ios-arm64_x86_64-simulator/Gowaku.framework/Resources/Info.plist b/ios/Gowaku.xcframework/ios-arm64_x86_64-simulator/Gowaku.framework/Resources/Info.plist
deleted file mode 100644
index 0d1a4b8..0000000
--- a/ios/Gowaku.xcframework/ios-arm64_x86_64-simulator/Gowaku.framework/Resources/Info.plist
+++ /dev/null
@@ -1,6 +0,0 @@
-
-
-
-
-
-
diff --git a/package.json b/package.json
index 666891b..bcf7d4b 100644
--- a/package.json
+++ b/package.json
@@ -33,11 +33,16 @@
"test": "jest",
"typescript": "tsc --noEmit",
"lint": "eslint \"**/*.{js,ts,tsx}\"",
+ "check-gowaku": "./download-gowaku.sh",
+ "download-gowaku": "./download-gowaku.sh --force",
"prepare": "bob build",
+ "prerelease": "yarn check-gowaku",
"release": "release-it",
"example": "yarn --cwd example",
+ "prepods": "yarn check-gowaku",
"pods": "cd example && pod-install --quiet",
- "bootstrap": "yarn example && yarn && yarn pods"
+ "bootstrap": "yarn check-gowaku && yarn example && yarn && yarn pods",
+ "prepublish": "yarn check-gowaku"
},
"keywords": [
"react-native",