djinni is a tool by the Dropbox team to simplify cross platform development for mobile devices. Typical usage is a c++ core library which interfaces with native Objective-C or Java code for iOS and Android devices.
Questions tagged [djinni]
38 questions
0
votes
2 answers
C++ / Djinni Error Field type is an abstract class
I'm making an app in React-native that uses Djinni from dropbox to bridge between C++ and Javascript. Calling from Javascript to C++ works well but now I'm implementing Call from C++ to Java/ObjC, my C++ skills are so and so. So I'm stuck on…

user3840315
- 1
- 5
0
votes
1 answer
Could Djinni record contain optional interface field
Is this code valid in Djinni, and some_record can be generated for objective c?
some_service = interface +c
{
do_some_action(): bool;
}
some_record = record
{
service: optional< some_service >;
}

Megamozg
- 975
- 9
- 15
0
votes
0 answers
Cross Platform compilation : property with 'retain (or strong)' attribute must be of object type
I need help to decypher a compilation error with a specific Objective-C++ file.
It is included in an Xcode Project. In this context it compiles without errors.
I have seen many other questions about this error but none of them helped me so far.
Here…
anon
0
votes
1 answer
djinni created objective-c protocol not working
I'm using djinni to create cross platform code between c++, java and objective c because I'm currently moving a lot of code to a cross platform c++ implementation.
The problem is, that I have an interface that is a protocol in objective c. Another…

Artur Hellmann
- 315
- 4
- 21
0
votes
1 answer
Java-type enum with custom values and constructor in C++
I have this Java enum that I need to interface with:
// Parameter.java
public enum Parameter {
ExampleParameter1(45920L, 3, 127, ValueFormat.BINARY, true),
ExampleParameter2(45703L, 6, 6, ValueFormat.NUMERIC, true),
…

Nepho
- 1,074
- 1
- 11
- 32
0
votes
1 answer
Djinni - Android Crash - UnsatisfiedLinkError
very much stuck here I had the project working fine now for some reason every time i launch i get a crash. any help on this would be appreciated.
Process: com.amr, PID: 4185
…

ahmad
- 2,149
- 4
- 21
- 38
0
votes
0 answers
Djinni make error
stuck here on this make problem for djinni, everything is working and i am happy but for some reason I can't get djinni to generate proper files. When I build it fails and I can't get the .o object it's missing. Below are the logs, please help would…

ahmad
- 2,149
- 4
- 21
- 38
0
votes
1 answer
Modifying the autolayout engine from a background thread error, from C++
I get the following error in Xcode 7.1 when making a UI call from C++, through a two-way djinni architecture:
This application is modifying the autolayout engine from a background thread, which can lead to engine corruption and weird crashes. This…

stephenspann
- 1,823
- 1
- 16
- 31