Not sure if this is wanted. Tried to make some typescript typings for this lib and sometimes there are different return types depending on if we are on IOS or Android. So this PR is just to try to make sure that the return types are compatible between the different platforms.
Maybe we want reject if we try to call an Android only function in IOS? Not sure, but I made it so that they at least return the same type now.
Not sure if this is wanted. Tried to make some typescript typings for this lib and sometimes there are different return types depending on if we are on IOS or Android. So this PR is just to try to make sure that the return types are compatible between the different platforms. Maybe we want reject if we try to call an Android only function in IOS? Not sure, but I made it so that they at least return the same type now.