Indexed by TopGit from live GitHub metadata: bumptech/bump-api-ios has 144 stars, written primarily in Objective-C. make your app bumpable in seconds
Snapshot summary built from the project's own GitHub metadata — there's no written TopGit review yet. The page will update automatically when a full review is published.
WHY NO REVIEW YET
TopGit writes full reviews for the most-starred, most-requested repositories. This page is a snapshot until then — see the READ ME tab for the original README in full.
removes a compiler warning when linking against the library
3.01
fixes userId configuration bug
adds optional disconnect/connect calls (first call to sharedClient auto-connects)
3.0
setBumpable turns location updates on/off
userIDForChannel returns empty string when other user's name is unset
RC1
removes use of [[UIDevice currentDevice] uniqueIdentifier]
includes armv6 binary
Beta 3
Additional power saving measures when bumping disabled
Fixes two internal bugs, one of which means that it will not match with earlier betas
Beta 2
callback structure changed: BumpClient calls its matchBlock when a match occurs. In order to create a channel (and send data), both users most call [[BumpClient sharedClient] confirmMatch:YES onChannel:channel];. When both users confirm a channel, then BumpClient will callback its channelConfirmedBlock.
See updated examples for this new structure
API key status notification on stderr.
Complete Example
- (void) configureBump {
// userID is a string that you could use as the user's name, or an ID that is semantic within your environment
[BumpClient configureWithAPIKey:@"your_api_key" andUserID:[[UIDevice currentDevice] name]];
[[BumpClient sharedClient] setMatchBlock:^(BumpChannelID channel) {
NSLog(@"Matched with user: %@", [[BumpClient sharedClient] userIDForChannel:channel]);
[[BumpClient sharedClient] confirmMatch:YES onChannel:channel];
}];
[[BumpClient sharedClient] setChannelConfirmedBlock:^(BumpChannelID channel) {
NSLog(@"Channel with %@ confirmed.", [[BumpClient sharedClient] userIDForChannel:channel]);
[[BumpClient sharedClient] sendData:[[NSString stringWithFormat:@"Hello, world!"] dataUsingEncoding:NSUTF8StringEncoding]
toChannel:channel];
}];
[[BumpClient sharedClient] setDataReceivedBlock:^(BumpChannelID channel, NSData *data) {
NSLog(@"Data received from %@: %@",
[[BumpClient sharedClient] userIDForChannel:channel],
[NSString stringWithCString:[data bytes] encoding:NSUTF8StringEncoding]);
}];
// optional callback
[[BumpClient sharedClient] setConnectionStateChangedBlock:^(BOOL connected) {
if (connected) {
NSLog(@"Bump connected...");
} else {
NSLog(@"Bump disconnected...");
}
}];
// optional callback
[[BumpClient sharedClient] setBumpEventBlock:^(bump_event event) {
switch(event) {
case BUMP_EVENT_BUMP:
NSLog(@"Bump detected.");
break;
case BUMP_EVENT_NO_MATCH:
NSLog(@"No match.");
break;
}
}];
}
TopGit's metadata for bumptech/bump-api-ios does not record a license. Most public repositories on GitHub ARE open source, but the exact terms vary — verify by opening the LICENSE file directly.
What is bumptech/bump-api-ios?
bumptech/bump-api-ios (bumptech/bump-api-ios) is a Objective-C project on GitHub. From the project's own README: make your app bumpable in seconds
Where can I see bumptech/bump-api-ios in action?
The project maintains a homepage at http://bu.mp/api. The README tab on this page also usually contains screenshots and a quickstart.
Where do I read more about bumptech/bump-api-ios?
This TopGit page is a snapshot — the READ ME tab shows the project's own README content (links stripped, images preserved). The GitHub repository at github.com/bumptech/bump-api-ios is the definitive source.
Read full README in the tab above.
Is bump-api-ios worth your time?
ChatGPT, Claude and Perplexity can all read this page. Ask one of them what it makes of bump-api-ios.