diff --git a/src/android/platform.cpp b/src/android/platform.cpp new file mode 100644 index 00000000..0e665750 --- /dev/null +++ b/src/android/platform.cpp @@ -0,0 +1,23 @@ +/* Copyright 2015 Realm Inc - All Rights Reserved + * Proprietary and Confidential + */ + +#include "../platform.hpp" +#include + +namespace realm { + +std::string default_realm_file_directory() +{ + return std::string(""); +} + +void ensure_directory_exists_for_file(const std::string &fileName) +{ +} + +void remove_realm_files_from_directory(const std::string &directory) +{ +} + +} diff --git a/tests/react-test-app/android/app/src/main/jni/Android.mk b/tests/react-test-app/android/app/src/main/jni/Android.mk index b081af56..2549c421 100644 --- a/tests/react-test-app/android/app/src/main/jni/Android.mk +++ b/tests/react-test-app/android/app/src/main/jni/Android.mk @@ -18,6 +18,7 @@ LOCAL_SRC_FILES := \ src/js_object.cpp \ src/js_schema.cpp \ src/rpc.cpp \ + src/android/platform.cpp \ src/object-store/index_set.cpp \ src/object-store/list.cpp \ src/object-store/object_schema.cpp \