Skip to content

Commit

Permalink
follow code convention
Browse files Browse the repository at this point in the history
  • Loading branch information
lgarbo committed Dec 7, 2023
1 parent 1707577 commit 13fe5c0
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion GlassfyGlue.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

Pod::Spec.new do |s|
s.name = 'GlassfyGlue'
s.version = '1.4.3'
s.version = '1.4.4'
s.summary = 'Glassfy Glue'

s.homepage = 'https://github.com/glassfy/glassfy-glue.git'
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ GlassfyGlue is available through [CocoaPods](https://cocoapods.org) and [Maven C
Add the following line to your Podfile:

```ruby
pod 'GlassfyGlue', '~> 1.4.3'
pod 'GlassfyGlue', '~> 1.4.4'
```

### Install on android
Expand Down
6 changes: 3 additions & 3 deletions ios/Source/GlassfyGlue.m
Original file line number Diff line number Diff line change
Expand Up @@ -268,13 +268,13 @@ + (void)connectCustomSubscriber:(NSString *_Nullable)customId
}];
}

+ (void)storeInfo:(GlassfyGlueCompletion _Nonnull)block {
[Glassfy storeInfo:^(GYStoresInfo *storeInfo, NSError *error) {
+ (void)storeInfoWithCompletion:(GlassfyGlueCompletion _Nonnull)block {
[Glassfy storeInfo:^(GYStoresInfo *info, NSError *error) {
if (error != nil) {
block(nil, error);
return;
}
NSDictionary *infoStoreDict = [storeInfo encodedDictionary];
NSDictionary *infoStoreDict = [info encodedDictionary];
block(infoStoreDict, nil);
}];
}
Expand Down
2 changes: 1 addition & 1 deletion ios/Source/Public/GlassfyGlue.h
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ typedef void (^GlassfyGlueCompletion)(NSDictionary<NSString *, id> *_Nullable, N
+ (void)connectCustomSubscriber:(NSString *_Nullable)customId
completion:(GlassfyGlueCompletion _Nonnull)block;

+ (void)storeInfo:(GlassfyGlueCompletion _Nonnull)block;
+ (void)storeInfoWithCompletion:(GlassfyGlueCompletion _Nonnull)block;

+ (void)setPurchaseDelegate:(id<GlassfyGluePurchaseDelegate> _Nullable)delegate;

Expand Down

0 comments on commit 13fe5c0

Please sign in to comment.