sefidgaran / salesforce-marketing-cloud

Salesforce Marketing Cloud MobilePush Flutter SDK
https://pub.dev/packages/sfmc_plugin
MIT License
6 stars 21 forks source link

my contact list on salesforces is empty #15

Closed linkkader closed 1 year ago

linkkader commented 1 year ago

Hi, is this plugin work on simulator ? on mysaleforces i have 1 active user but when i try create list for test my contact list is empty

await SfmcPlugin().initialize(
                  appId: kFcmAppId,
                  accessToken: kFcmAccessToken,
                  mid: kFcmMid,
                  sfmcURL: kFcmAppEndpoint,
                  senderId: '<YOUR_FIREBASE_CLOUD_MESSAGING_SENDER_ID>',
                  delayRegistration: true,
                  analytics: true,
                ).timeout(const Duration(seconds: 10));

                var te = await SfmcPlugin().setContactKey("F332BE54-A2E8-4A71-91FC-CCA48DAE8181").timeout(const Duration(seconds: 5));
                App.log.e(te);
                await 10.sleep();
                App.log.e("fcm_init ${await SfmcPlugin().getContactKey().timeout(const Duration(seconds: 5))}");
                // App.log.e("fcm_init ${await SfmcPlugin().getTags().timeout(Duration(seconds: 5))}");
Screenshot 2023-08-17 at 09 31 42 Screenshot 2023-08-17 at 09 27 27
linkkader commented 1 year ago

i have not set filters that is why